Does anyone know how to completely remove the (i) button when you view pictures (between the thumnails and slideshow links)? I thought I might be able to try on the index.php file, but I didn't want to risk it because I wasn't fully sure what I was doing.
Thanks in advance if anyone can help!
Copy the navbar template from the sample theme into your custom theme.php and comment out or remove the button in your copy.
alright, I did as told, and I copied this part into the theme.php file in my custom theme:
Quote//('THEME_HAS_NAVBAR_GRAPHICS', 1); : The location for the navbar graphics will
// be directed to the themes images folder.
// Back to thumbnails : images/thumbnails.gif
// Slideshow : images/slideshow.gif
// Report to admin : images/report.gif
// Ecard : images/ecard.gif
// Previous : images/prev.gif
// Next : images/next.gif
is that was I was supposed to copy? because when I did, the writing just came up at the top of the page in the gallery, so i must be doing something wrong
That's wrong - those are just comments. Copy// HTML template for the image navigation bar
$template_img_navbar = <<<EOT
<tr>
<td align="center" valign="middle" class="navmenu" width="48">
<a href="{THUMB_TGT}" class="navmenu_pic" title="{THUMB_TITLE}"><img src="{LOCATION}images/thumbnails.gif" align="middle" border="0" alt="{THUMB_TITLE}" /></a>
</td>
<td align="center" valign="middle" class="navmenu" width="48">
<a href="javascript:;" class="navmenu_pic" onclick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="{LOCATION}images/info.gif" border="0" align="middle" alt="{PIC_INFO_TITLE}" /></a>
</td>
<td align="center" valign="middle" class="navmenu" width="48">
<a href="{SLIDESHOW_TGT}" class="navmenu_pic" title="{SLIDESHOW_TITLE}"><img src="{LOCATION}images/slideshow.gif" border="0" align="middle" alt="{SLIDESHOW_TITLE}" /></a>
</td>
<td align="center" valign="middle" class="navmenu" width="100%">
{PIC_POS}
</td>
<!-- BEGIN report_file_button -->
<td align="center" valign="middle" class="navmenu" width="48">
<a href="{REPORT_TGT}" class="navmenu_pic" title="{REPORT_TITLE}"><img src="{LOCATION}images/report.gif" border="0" align="middle" alt="{REPORT_TITLE}" /></a>
</td>
<!-- END report_file_button -->
<!-- BEGIN ecard_button -->
<td align="center" valign="middle" class="navmenu" width="48">
<a href="{ECARD_TGT}" class="navmenu_pic" title="{ECARD_TITLE}"><img src="{LOCATION}images/ecard.gif" border="0" align="middle" alt="{ECARD_TITLE}" /></a>
</td>
<!-- END ecard_button -->
<td align="center" valign="middle" class="navmenu" width="48">
<a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="{LOCATION}images/prev.gif" border="0" align="middle" alt="{PREV_TITLE}" /></a>
</td>
<td align="center" valign="middle" class="navmenu" width="48">
<a href="{NEXT_TGT}" class="navmenu_pic" title="{NEXT_TITLE}"><img src="{LOCATION}images/next.gif" border="0" align="middle" alt="{NEXT_TITLE}" /></a>
</td>
</tr>
EOT;
from themes/sample/theme.php into a new line before ?>
into themes/yourtheme/theme.php.
Then edit themes/yourtheme/theme.php, find <td align="center" valign="middle" class="navmenu" width="48">
<a href="javascript:;" class="navmenu_pic" onclick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="{LOCATION}images/info.gif" border="0" align="middle" alt="{PIC_INFO_TITLE}" /></a>
</td>
and remove those lines or comment them out.
Has been asked and asnwered often already, e.g. in How to remove buttons? (displayimage.php) (http://forum.coppermine-gallery.net/index.php/topic,51423.0.html), How delete buttons: slideshow, send e-card etc. (http://forum.coppermine-gallery.net/index.php/topic,52156.0.html), removing information text menu above displayd picture (http://forum.coppermine-gallery.net/index.php/topic,48427.0.html)
Yes, it works! Thank you so much for all your help ;D