remove Larger Image link under additional images
I was just wondering how to remove the Larger Image text under the additional images?
I would still like the link to be under the main product image, just not under any of the additional images. I still want the popups to work for the additional images, but just by clicking the images.:bored:
Thanks in advance!
Re: remove Larger Image link under additional images
Look for this line
$script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
from /include/modules/additional_images.php and remove TEXT_CLICK_TO_ENLARGE .
Re: remove Larger Image link under additional images
Quote:
Originally Posted by
rapid564
Look for this line
$script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
from /include/modules/additional_images.php and remove TEXT_CLICK_TO_ENLARGE .
awesome works perfect!
Re: remove Larger Image link under additional images
Hello.
I tried doing what was suggested above, but it did not work. I'm wondering if using Image Handler 2 has anything to do with it and what I'd have to do differently from above.
Thanks in advance for any help!
Re: remove Larger Image link under additional images
Go to includes/languages/english.php and find the text larger image
Take it out and there ya go!
Re: remove Larger Image link under additional images
Re: remove Larger Image link under additional images
heres another idea for this.
edit:
includes/languages/english.php
find the following:
define('TEXT_CLICK_TO_ENLARGE', 'larger image');
you can add another line like this:
define('TEXT_CLICK_TO_ALTERNATE', 'alt image link text');
if you want no text on the link, use:
define('TEXT_CLICK_TO_ALTERNATE', '');
---------------------------------------------------------------------
then edit:
includes/modules/YOUR_TEMPLATE/additional_images.php
replace all the instances of TEXT_CLICK_TO_ENLARGE
with TEXT_CLICK_TO_ALTERNATE
Re: remove Larger Image link under additional images
Quote:
Originally Posted by
carilivia
Go to includes/languages/english.php and find the text larger image
Take it out and there ya go!
or, more specifically
In the includes/languages/english.php
change
define('TEXT_CLICK_TO_ENLARGE', 'larger image');
to
define('TEXT_CLICK_TO_ENLARGE', '');
made the link disappear, yay