How do I make Gallery comments appear below thumbnails?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
colinmcc
Forum Members
Forum Members
Posts: 11
Joined: Fri Oct 29, 2010 12:06 am

How do I make Gallery comments appear below thumbnails?

Post 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
colinmcc
Forum Members
Forum Members
Posts: 11
Joined: Fri Oct 29, 2010 12:06 am

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

Post 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..
User avatar
micahgodbolt
Forum Members
Forum Members
Posts: 149
Joined: Thu Jul 29, 2010 11:09 pm

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

Post by micahgodbolt »

I typically use CSS to lay them out, though depending on what you are used to, tables would work well also.
Post Reply

Return to “Modules/Add-Ons”