Zen Cart Logo
Forums / General Questions / Popup image size. Any javascript brains out there?

Popup image size. Any javascript brains out there?

Locked

Views: 1,476

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
7 Nov 2007, 7:53 AM
#1
marknew avatar

marknew

Zen Follower

Join Date:
Oct 2005
Posts:
274
Plugin Contributions:
0

Popup image size. Any javascript brains out there?

Any javascript brains out there?
Does anyone know how to hard code the popup image size on the product info page . I know this uses three files,

two javascript files &

tpl_modules_main_product_image.php -

<script language="javascript" type="text/javascript"><!-- document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '\\\')">' . zen_image(IMAGES_SERVER . DIR_WS_CATALOG . $products_image_medium, addslashes($products_name)) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>'); //--></script>

Thanks

7 Nov 2007, 2:33 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Popup image size. Any javascript brains out there?

Have you considered Image Handler 2? You can control the popup size from the admin. It's in use on both sites in my sig.