Description in Piclens

Phoca Gallery - image gallery extension
cruxe
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 13 Oct 2008, 23:01

Description in Piclens

Post by cruxe »

Hi,

Is there anyway to have photo description displayed in piclens view, instead of displaying file name?
There should be a config to select which we want.

Thank you in advance.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49279
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Description in Piclens

Post by Jan »

Hi, please let me know if therer is such option for PicLens

Thank you, Jan
If you find Phoca extensions useful, please support the project
cruxe
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 13 Oct 2008, 23:01

Re: Description in Piclens

Post by cruxe »

I think you can manage it when creating the xml file.

I remember this when visiting this site: www.olhares.com
You may see that bellow the picture appears not the filename, but the description and title of the photo.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49279
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Description in Piclens

Post by Jan »

so this means that in the xml file, there is no title as title but description - title as title in the tag:
<title>Title</title>
If you find Phoca extensions useful, please support the project
cruxe
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 13 Oct 2008, 23:01

Re: Description in Piclens

Post by cruxe »

I think your correct and probably that's the way they do it, using photo description in tag <title>
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49279
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Description in Piclens

Post by Jan »

but what happens if you have e.g. description on 5 rows ... (this need to be tested and then I can add it to parameters - Display title in Piclens, Display Title + Description in Piclens...)
If you find Phoca extensions useful, please support the project
cruxe
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 13 Oct 2008, 23:01

Re: Description in Piclens

Post by cruxe »

Yes, and you must strip html also... eheheh

Ok, if you can add this feature, I'll be glad to test it :wink:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49279
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Description in Piclens

Post by Jan »

ok
If you find Phoca extensions useful, please support the project
cruxe
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 13 Oct 2008, 23:01

Re: Description in Piclens

Post by cruxe »

I was investigating that website (http://www.olhares.com) rss feed and found that they use a <media:description> tag for description.

But they use a <![CDATA[Description]]> for the description.
The feed is in: http://olhares.aeiou.pt/rss2.php
You might want to take a look at it.

I've also found a post in the coppermine forum about piclens. It's in this url http://forum.coppermine-gallery.net/ind ... #msg247166
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49279
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Description in Piclens

Post by Jan »

Ok, thank you, I will add the description tag into the rss...

Jan
If you find Phoca extensions useful, please support the project
Post Reply