Page 1 of 1

Description in Piclens

Posted: 14 Oct 2008, 09:35
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.

Re: Description in Piclens

Posted: 14 Oct 2008, 16:57
by Jan
Hi, please let me know if therer is such option for PicLens

Thank you, Jan

Re: Description in Piclens

Posted: 14 Oct 2008, 21:48
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.

Re: Description in Piclens

Posted: 16 Oct 2008, 00:19
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>

Re: Description in Piclens

Posted: 27 Oct 2008, 21:17
by cruxe
I think your correct and probably that's the way they do it, using photo description in tag <title>

Re: Description in Piclens

Posted: 27 Oct 2008, 22:58
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...)

Re: Description in Piclens

Posted: 27 Oct 2008, 23:04
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:

Re: Description in Piclens

Posted: 27 Oct 2008, 23:11
by Jan
ok

Re: Description in Piclens

Posted: 27 Oct 2008, 23:17
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

Re: Description in Piclens

Posted: 28 Oct 2008, 21:50
by Jan
Ok, thank you, I will add the description tag into the rss...

Jan