Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default 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.

    Thanks in advance!

  2. #2
    Join Date
    Sep 2006
    Posts
    18
    Plugin Contributions
    0

    Default 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="javascriptopupWindow(\\\'' . $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 .

  3. #3
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: remove Larger Image link under additional images

    Quote Originally Posted by rapid564 View Post
    Look for this line
    $script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascriptopupWindow(\\\'' . $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!

  4. #4
    Join Date
    Aug 2007
    Posts
    3
    Plugin Contributions
    0

    Default 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!

  5. #5
    Join Date
    Dec 2006
    Posts
    32
    Plugin Contributions
    0

    Default 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!

  6. #6
    Join Date
    Mar 2009
    Posts
    58
    Plugin Contributions
    0

    Default Re: remove Larger Image link under additional images

    Excellent... Thanks

  7. #7
    Join Date
    Jun 2009
    Location
    KL
    Posts
    16
    Plugin Contributions
    0

    Default 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
    zen cart: vers. 1.3.8, php 5
    grid layout mod.

  8. #8
    Join Date
    Sep 2010
    Posts
    1
    Plugin Contributions
    0

    Default Re: remove Larger Image link under additional images

    Quote Originally Posted by carilivia View Post
    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

 

 

Similar Threads

  1. v154 Would like to remove the "larger image" text from my additional images
    By Ted Grapler in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 27 Jan 2016, 05:05 AM
  2. v139h Remove larger image link from additional product pictures
    By barendfaber in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 21 Aug 2012, 05:29 PM
  3. Remove "larger image" and space from additional images
    By cchan in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 6 Dec 2010, 04:46 AM
  4. Position Larger Image link under title
    By welchyboy in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 16 May 2010, 03:19 AM
  5. How do I remove additional larger images?
    By monkeybrains in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 12 Sep 2006, 05:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR