Forums / Templates, Stylesheets, Page Layout / Remove image popup from additional images

Remove image popup from additional images

Views: 1,122

Results 1 to 6 of 6
5 Nov 2014, 5:02 AM
#1
jimbogee avatar

jimbogee

New Zenner

Join Date:
Oct 2014
Posts:
6
Plugin Contributions:
0

Remove image popup from additional images

How can I remove image popup from additional images? I don't want any sort of popup when clicking on the additional images, I just want them to show as thumbnails like they do now.

5 Nov 2014, 5:44 AM
#2
jimbogee avatar

jimbogee

New Zenner

Join Date:
Oct 2014
Posts:
6
Plugin Contributions:
0

Re: Remove image popup from additional images

I've fixed this problem, thanks

5 Nov 2014, 6:10 AM
#3
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Remove image popup from additional images

JimboGee:

How can I remove image popup from additional images? I don't want any sort of popup when clicking on the additional images, I just want them to show as thumbnails like they do now.
And for others with the same problem, looking for a solution and find this thread.
The solution was.....?

5 Nov 2014, 8:50 AM
#4
jimbogee avatar

jimbogee

New Zenner

Join Date:
Oct 2014
Posts:
6
Plugin Contributions:
0

Re: Remove image popup from additional images

I would rather this thread be deleted thanks

17 Jul 2015, 6:16 PM
#5
pricediscrimination avatar

pricediscrimination

Zen Follower

Join Date:
May 2008
Posts:
401
Plugin Contributions:
0

Re: Remove image popup from additional images

Found this thread also searching for this. It would be nice if the solution was shared...

18 Jul 2015, 2:17 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Remove image popup from additional images

If you just want to see the Additional Images but not have the popup link you could edit the file:
/includes/modules/additional_images.php

using your templates and overrides and add the code in RED:

    // Link Preparation:
    $script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ([B]false && [/B]$flag_display_large ? '<a href="javascript:popupWindow(\\\'' . str_replace($products_image_large, urlencode(addslashes($products_image_large)), $large_link) . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';

    $noscript_link = '<noscript>' . ([B]false && [/B]$flag_display_large ? '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE_ADDITIONAL, 'pID=' . $_GET['products_id'] . '&pic=' . $i . '&products_image_large_additional=' . $products_image_large) . '" target="_blank">' . $thumb_regular . '<br /><span class="imgLinkAdditional">' . TEXT_CLICK_TO_ENLARGE . '</span></a>' : $thumb_regular ) . '</noscript>';

See if that accomplishes what you are looking for ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!