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
How do I make Gallery comments appear below thumbnails?
Re: How do I make Gallery comments appear below thumbnails?
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
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..
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

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..
- micahgodbolt
- Forum Members
- Posts: 149
- Joined: Thu Jul 29, 2010 11:09 pm
Re: How do I make Gallery comments appear below thumbnails?
I typically use CSS to lay them out, though depending on what you are used to, tables would work well also.