Hi
I would like to move the intermediate image to the left, the comments under the image, and all the other info to the right of the image. I looked around, but i m not sure where to start. Can anybody help?
thank you
i m using the water drop template if it makes any difference.
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616
Got it.
I was just having problems with the html code. Didn't realize that it is all in the sample.
ty
Issue solved then?
Not really. :)
// HTML template for intermediate image display
$template_display_media = <<<EOT
<div>{TITLE}</div>
<div>{IMAGE}</div>
<div>{ADMIN_MENU}</div>
<div>{CAPTION}</div>
<div> 1</div>
EOT;
Ok ... this is what I have on my theme.php. I plan on positioning the divs later. But I can't seem to be able to add the comments, filmstrip, file info and rating. The items show up. If I copy the HTML code for filmstrip let's say, I get an error. I did something like this:
// HTML template for intermediate image display
$template_display_media = <<<EOT
<div>{TITLE}</div>
<div>{IMAGE}</div>
<div>{ADMIN_MENU}</div>
<div>{CAPTION}</div>
<div> 1</div>
EOT;
// HTML template for filmstrip display
$template_film_strip = <<<EOT
<tr>
<td valign="top" style="background-image: url({TILE1});"><img src="{TILE1}" alt="" border="0" /></td>
</tr>
<tr>
<td valign="bottom" class="thumbnails" align="center">
<table width="100%" cellspacing="0" cellpadding="3" border="0">
<tr>
<td width="50%"></td>
{THUMB_STRIP}
<td width="50%"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" style="background-image: url({TILE2});"><img src="{TILE2}" alt="" border="0" /></td>
</tr>
<!-- BEGIN thumb_cell -->
<td valign="top" align="center">
<a href="{LINK_TGT}">{THUMB}</a>
{CAPTION}
{ADMIN_MENU}
</td>
<!-- END thumb_cell -->
<!-- BEGIN empty_cell -->
<td valign="top" align="center" > </td>
<!-- END empty_cell -->
EOT;
Is this correct?
Coppermine is table-driven. Like it or not, that's how it works today. The comment lines like<!-- BEGIN thumb_cell -->
actually do something, so yes: you need to keep and populate them.