coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Tim_A on January 23, 2008, 03:34:57 PM

Title: Horizontal thumbnail details
Post by: Tim_A on January 23, 2008, 03:34:57 PM
Hi all,

have been searching the forums but haven't found an answer to this one yet...

I'd like to show the thumbnails (in album view) with the details to the right of the image, as supposed to directly underneath.

If this could be presented in a table that'd be very handy!

Cheers for any help

Tim
Title: Re: Horizontal thumbnail details
Post by: Nibbler on January 23, 2008, 03:49:42 PM
Not sure what you mean about a table, but the code to change is the $template_thumbnail_view template. Copy it from the sample theme.php to your theme.php and modify your copy. Alter the code around the {CAPTION} placeholder tag.
Title: Re: Horizontal thumbnail details
Post by: Stramm on January 23, 2008, 04:10:28 PM
Have a look at the modpack... it moves some (not all) info to the right of the thumb and introduces some additional stuff as well... check the code how it is done and use the parts you see fit.
Title: Re: Horizontal thumbnail details
Post by: Tim_A on January 23, 2008, 05:18:33 PM
thanks very much for the help managed to move it to the side...

by table based, i mean something like this for my listings:


[table][tr][td]image thumb[/td][td]title[/td][td]description[/td][td]user1[/td][td]user2[/td][td]user3 etc.[/td][/tr][/table]


is that possible to have each part in a <td>

???
Title: Re: Horizontal thumbnail details
Post by: Stramm on January 23, 2008, 06:14:04 PM
Of course possible if you code it. Hasn't been done yet afaik. But as said, you can use modpack code for a start.