Text "click to enlarge"

Since Opentools.de has now gone away I've created this forum to house FAQs and support for this mod in phpBB2.

Moderator: Experts

Locked
calljj
Posts: 2
Joined: Sat Nov 03, 2007 7:57 pm

Text "click to enlarge"

Post by calljj »

Such a simple thing, but can't find out what to enter to get "Click to Enlarge" text to display by the thin line that sits just above the thumbnails displayed on the page so that users realise that they can click on the thumbnail for it to expand

Any Ideas?

Phpbb 2 latest download version and lightbox mod installed any running fine.

DavidIQ
Site Admin
Posts: 605
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: Text "click to enlarge"

Post by DavidIQ »

Open viewtopic_attach_body.tpl and find this:

Code: Select all

<img src="{postrow.attach.cat_thumb_images.IMG_THUMB_SRC}" alt="{postrow.attach.cat_thumb_images.DOWNLOAD_NAME}" border="0" /></a><br />
And replace with this:

Code: Select all

<img src="{postrow.attach.cat_thumb_images.IMG_THUMB_SRC}" alt="{postrow.attach.cat_thumb_images.DOWNLOAD_NAME}" border="0" /></a><br />Click image to enlarge
If you want the words to be clickable as well then replace with this instead:

Code: Select all

<img src="{postrow.attach.cat_thumb_images.IMG_THUMB_SRC}" alt="{postrow.attach.cat_thumb_images.DOWNLOAD_NAME}" border="0" /><br />Click to enlarge</a>

calljj
Posts: 2
Joined: Sat Nov 03, 2007 7:57 pm

Re: Text "click to enlarge"

Post by calljj »

Thank you... never realised it was quite THAT easy :roll: :D

Locked