Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

giving only image width parameter to avoid image distortion #oscommerce

  • Loading branch information...
commit 54f0a8f25a39785ec4d5fcb5efaee09dc72e0396 1 parent 72883b7
@acidvertigo acidvertigo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  catalog/product_info.php
View
2  catalog/product_info.php
@@ -116,7 +116,7 @@
?>
<div id="piGal" style="float: right;">
- <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank" rel="fancybox">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_HEIGHT, SMALL_IMAGE_WIDTH, 'hspace="5" vspace="5"') . '</a>'; ?>
+ <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank" rel="fancybox">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), null, SMALL_IMAGE_WIDTH, 'hspace="5" vspace="5"') . '</a>'; ?>
</div>
<?php
Please sign in to comment.
Something went wrong with that request. Please try again.