Skip to content

Commit

Permalink
Send width and hieght value instead of 'null' for the product image
Browse files Browse the repository at this point in the history
  • Loading branch information
acidvertigo committed Nov 21, 2011
1 parent b974014 commit 47d5f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catalog/product_info.php
Expand Up @@ -116,7 +116,7 @@
?> ?>


<div id="piGal" style="float: right;"> <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> </div>


<?php <?php
Expand Down

0 comments on commit 47d5f5f

Please sign in to comment.