Jump to content
Sign in to follow this  
Illicious

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.

admin/categories.php

admin/popup_image.php

catalog/popup_image.php

 

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

 

          <tr>

           <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>'; ?>');

//--></script>

<noscript>

<?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>'; ?>

</noscript>

           </td>

         </tr>

 

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

 

Take a look:

http://store.shaolin-venoms.com/Venom-Stor...?products_id=30

 

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

 

Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×