Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

increase just the main thumbnail size?


MrE03

Recommended Posts

i want to make the main thumbnail a larger size but keep the rest of the other thumbnails the smaller size.

 

is there a way for me to just change the pixel size of the main thumbnail? like changing it in product_info.tpl or something like that?

 

and please dont say its in your maximum sizes in control panel, this setting will effect ALL thumbnails. I want to specifically focus on the main thumbnail in the product info page.

 

thanks

Link to comment
Share on other sites

i want to make the main thumbnail a larger size but keep the rest of the other thumbnails the smaller size.

 

is there a way for me to just change the pixel size of the main thumbnail? like changing it in product_info.tpl or something like that?

 

and please dont say its in your maximum sizes in control panel, this setting will effect ALL thumbnails. I want to specifically focus on the main thumbnail in the product info page.

 

thanks

 

go to catalog/product_info.php

 

 

Look for

<script language="javascript"><!--
document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');
//--></script>

 

 

change SMALL_IMAGE_WIDTH and SMALL_IMAGE_HEIGHT according to your choice

Link to comment
Share on other sites

go to catalog/product_info.php

 

 

Look for

<script language="javascript"><!--
document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');
//--></script>

 

 

change SMALL_IMAGE_WIDTH and SMALL_IMAGE_HEIGHT according to your choice

 

 

cool thanks that did it, not sure why it didnt work before thats why i had to ask to double check :)

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.

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