Page 1 of 1
Displaying Comments on images
Posted: Mon Apr 06, 2009 9:09 am
by pcp20us
Hi I am using sdy to tell the story via images.
When i add images i add a short comment.
I use [C] Lightbox/Thickbox JS/Greybox to show larger images when you click the thumbnail.
However the comment is not display like it its on the thumbnail. Is this configurable thing?
See link to
blog for example http://pedro.blogs.exetel.com.au/
Re: Displaying Comments on images
Posted: Mon Apr 06, 2009 9:38 am
by yellowled
pcp20us wrote:When i add images i add a short comment. I use [C] Lightbox/Thickbox JS/Greybox to show larger images when you click the thumbnail. However the comment is not display like it its on the thumbnail. Is this configurable thing?
I
think I know what you mean, but I'm not sure: You want the image comment to be displayed below the bigger version of the image displayed with Lightbox, right? I think you need to add the same text as the title attribute for the link to the bigger image, but I'm not sure there is some mechanism for the Lightbox plugin to do this automagically.
YL
Re: Displaying Comments on images
Posted: Sat Apr 11, 2009 12:05 pm
by Neut
I found that the only way to make this work is to add manually (in the HTML) an extra 'title' value:
<a class="serendipity_image_link" href="/nb3/uploads/example.jpg" target="_blank"><img style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; FLOAT: right; BORDER-TOP: 0px; BORDER-RIGHT: 0px" class="serendipity_image_right" title="Example text for mouse-over" src="/nb3/uploads/example.jpg" width="98" height="71" /></a>