Page 1 of 1

How do I make Gallery comments appear below thumbnails?

Posted: Fri Oct 29, 2010 12:10 am
by colinmcc
Hi, I've just installed the Gallery module and uploaded some pictures. I then added titles and comments to each picture, but although the title text displays on mouseover and in the slideshow, I can't see how to cause the Comment text to appear. I'd like this to show under the thumbnail if possible.

Any advice please?

Thanks

Re: How do I make Gallery comments appear below thumbnails?

Posted: Fri Oct 29, 2010 1:15 am
by colinmcc
Getting there... In the template I changed the line reading:file|escape:'url'|replace:'%2F':'/'}" title="{$image->titlename}" rel="gallery">thumb|escape:'url'|replace:'%2F':'/'}" alt="{$image->titlename}" />


To include:
To file|escape:'url'|replace:'%2F':'/'}" title="{$image->titlename}" rel="gallery">thumb|escape:'url'|replace:'%2F':'/'}" alt="{$image->titlename}" />  {$image->comment}

And now the comment does show  ;D but beside the image.. And as a result the images stack one above each other.

Now I think(?) I can rework the loop to make a table with, say, 3 thumbnails across the page and then the 3 matching comments in the next table row etc..

Re: How do I make Gallery comments appear below thumbnails?

Posted: Tue Nov 09, 2010 8:59 pm
by micahgodbolt
I typically use CSS to lay them out, though depending on what you are used to, tables would work well also.