Permalink
Browse files

Send width and hieght value instead of 'null' for the product image

  • Loading branch information...
1 parent b974014 commit 47d5f5f90db52db9df3fff5796b2990d91c4244d @acidvertigo acidvertigo committed Nov 21, 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']), null, null, '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']), SMALL_IMAGE_HEIGHT, SMALL_IMAGE_WIDTH, 'hspace="5" vspace="5"') . '</a>'; ?>
</div>
<?php

0 comments on commit 47d5f5f

Please sign in to comment.