Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Sm,Med,and Lg Images 1.0 Help


Recommended Posts

First: I think there should be a contributions help forum to smooth things out.


I cant get this to fully work and dunno what im doing wrong.


I followed all the instructions:


Replace the following files, with the ones included with the zip file.





Added to admin/includes/languages/english/categories.php


define('TEXT_PRODUCTS_MEDIUMIMAGE', 'Products Medium Image:');

define('TEXT_PRODUCTS_LARGEIMAGE', 'Products Large Image:');


Change catalog/product_info.php



           <td align="center" class="smallText">

<script language="javascript"><!--

document.write('<?php echo '<a href="javascript:popupWindow('' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info_values['products_id']) . '')">' . tep_image(DIR_WS_IMAGES . $product_info_values['products_mediumimage'], addslashes($product_info_values['products_name']), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');



<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info_values['products_mediumimage']) . '">' . tep_image(DIR_WS_IMAGES . $product_info_values['products_mediumimage'], $product_info_values['products_name'], MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>





Uploaded a small, medium, large image and only the small and large images show.


Take a look:



BTW, is there a way to get a second thumbnail and large image alnong with this mod?



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...