Move information under thumbnails

Fotographer

Joined: 2007-03-23
Posts: 110
Posted: Sat, 2009-03-14 06:36

Hi, I was wondering how to move all of the image information (except for the title) under the thumbnail.
I'm specifically talking about the classic theme, I've attached an example of what i'm talking about.

Any and All help is appreciated. :]

Gallery3 - "Third time's the charm".

AttachmentSize
thumb.jpg170.6 KB
 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2009-03-14 18:42

Album.tpl is the page that renders the thumbnails. It is done with tables and divs. so you need to find the code that does the title....
in album.tpl this is the code that is used to show the title:

		{if !empty($child.title)}
		<p class="giTitle">
		  {if $child.canContainChildren && (!isset($theme.params.albumFrame)
		   || $theme.params.albumFrame == $theme.params.itemFrame)}
		    {* Add prefix for albums unless imageframe will differentiate *}
		    {g->text text="Album: %s" arg1=$child.title|markup}
		  {else}
		    {$child.title|markup}
		  {/if}
		</p>
		{/if}

move that to above the thumb.

Then you can find the other bits of code you want to move. If you get stuck you can put some test text in the file like 1 2 3 4 5 at various places and you will see where they show up, that will halp if you can't read all the other html and smarty tags.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team