what do i need to edit to move the picture information to show up next to the image, instead of below it? i just need to know what file/line(s) i need to edit. thanks!
*bump*
*bump*
I think you need to edit this section in theme.php (default theme shown)
EOT;
// HTML template for intermediate image display
$template_display_picture = <<<EOT
<tr>
<td align="center" class="tableb" height="{CELL_HEIGHT}" style="white-space: nowrap; padding: 0px;">
<table cellspacing="2" cellpadding="0" style="border: 1px solid #000000; background-color: #FFFFFF; margin-top: 30px; margin-bottom: 30px;">
<tr>
<td>
{IMAGE}
{ADMIN_MENU}
</td>
</tr>
</table>
<!-- BEGIN img_desc -->
<table cellpadding="0" cellspacing="0" class="img_caption_table">
<!-- BEGIN title -->
<tr>
<th>
{TITLE}
</th>
</tr>
<!-- END title -->
<!-- BEGIN caption -->
<tr>
<td>
{CAPTION}
</td>
</tr>
<!-- END caption -->
</table>
<!-- END img_desc -->
</td>
</tr>
You need to change the html so they are not in different tables, but in different cells within the same row of a table.
I think this will make the page rather wide though.
thanks-but i already did this lol
i really want the section:
'Image Information' (or Picture Information) to be shown on the side of the image-and have not found any html of this...
then post what changes you did to the code, using the bit of code casper told you to modify, and a link to a page that has your modifications in it... You can't expect people here to do all the work for you...
GauGau
you don't get it-
i have everything nice where i want it-except i don't know where the html is for the 'Picture DETAILS' (or information) i guess i won't do anything.
If what I put isn't what you need, then the other place to try is displayimage.php.
perhaps what you need is to place this code elsewhere, althought I don't know how;
function theme_html_picinfo(&$info)
{
global $lang_picinfo;
$html = '';
$html .= " <tr><td colspan=\"2\" class=\"tableh2_compact\"><b>{$lang_picinfo['title']}</b></td></tr>\n";
$template = " <tr><td class=\"tableb_compact\" valign=\"top\" nowrap>%s:</td><td class=\"tableb_compact\">%s</td></tr>\n";
foreach ($info as $key => $value) $html .= sprintf($template, $key, $value);
return $html;
}