Displaying Comments on images

Creating and modifying plugins.
Post Reply
pcp20us
Regular
Posts: 23
Joined: Sun Nov 30, 2008 11:32 pm

Displaying Comments on images

Post 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/
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Displaying Comments on images

Post 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
Neut
Regular
Posts: 91
Joined: Sat Jun 17, 2006 7:51 pm
Location: NL, Earth
Contact:

Re: Displaying Comments on images

Post 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>
Who is General Failure, and why is he reading my disk?
Post Reply