Hi guys
I think lot of visitors on my site don't open fullsize images as the suppose that the medium size is the biggest available
I'd like to add a line of text like Click on the image to view it fullsize just over the image, under FILE1/1 in this page
http://imagetemple.com/gallery/displayimage.php?album=25&pos=0
obviously not only in this one but in the template so all the pages like this will have it
what should I do?
which lines do I have to modify and in which file?
thanks
You can do this in more than one way. Best and simplest would be to edit language file you use.
Edit lang/english.php (You must do this for all the languages you use)
Find
'pic_pos' => 'FILE %s/%s',
and replace with
'pic_pos' => 'FILE %s/%s (Click on image to see full size)',
ok that works
but I wanted it below, just over the image and below FILE 1/1 :D
and maybe...is there a way to make it in all the languages? even if it appears always in english I'd like to have it in all the languages
For the text to appear below FILE 1/1 you will have to edit each theme file
Edit themes/classic/theme.php (You should edit all themes)
Find
$template_display_picture = <<<EOT
<tr>
<td align="center" class="tableb" height="{CELL_HEIGHT}" style="white-space: nowrap; padding: 0px;">
<table cellspacing="2" cellpadding="0" class="imageborder">
<tr>
<td align="center">
{IMAGE}
{ADMIN_MENU}
</td>
</tr>
</table>
and replace it with
$template_display_picture = <<<EOT
<tr>
<td align="center" class="tableb" height="{CELL_HEIGHT}" style="white-space: nowrap; padding: 0px;">
Click on image for full size
<table cellspacing="2" cellpadding="0" class="imageborder">
<tr>
<td align="center">
{IMAGE}
{ADMIN_MENU}
</td>
</tr>
</table>
perfect
and I only allow 1 skin so the problem doesn't exist at all
thanks a lot ;)