Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / remove Larger Image link under additional images

remove Larger Image link under additional images

Locked

Views: 10,696

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
13 Oct 2006, 9:56 PM
#1
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

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!

15 Oct 2006, 11:14 PM
#2
rapid564 avatar

rapid564

New Zenner

Join Date:
Sep 2006
Posts:
16
Plugin Contributions:
0

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 .

17 Oct 2006, 6:17 PM
#3
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: remove Larger Image link under additional images

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!

24 Aug 2007, 8:39 AM
#4
duttonart avatar

duttonart

New Zenner

Join Date:
Aug 2007
Posts:
3
Plugin Contributions:
0

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!

3 Sep 2007, 1:47 PM
#5
carilivia avatar

carilivia

New Zenner

Join Date:
Dec 2006
Posts:
32
Plugin Contributions:
0

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!

18 Mar 2009, 5:50 AM
#6
emrico1 avatar

emrico1

New Zenner

Join Date:
Mar 2009
Posts:
55
Plugin Contributions:
0

Re: remove Larger Image link under additional images

Excellent... Thanks

18 Jun 2009, 2:59 PM
#7
ekaya avatar

ekaya

New Zenner

Join Date:
Jun 2009
Location:
KL
Posts:
16
Plugin Contributions:
0

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

27 Sep 2010, 6:01 PM
#8
wetllama avatar

wetllama

New Zenner

Join Date:
Sep 2010
Posts:
1
Plugin Contributions:
0

Re: remove Larger Image link under additional images

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