Permalink
Browse files

giving only image width parameter to avoid image distortion #oscommerce

  • Loading branch information...
1 parent 72883b7 commit 54f0a8f25a39785ec4d5fcb5efaee09dc72e0396 @acidvertigo acidvertigo committed Nov 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 catalog/product_info.php
View
@@ -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

0 comments on commit 54f0a8f

Please sign in to comment.