Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't add the session ID to image links (fix bug #445)

  • Loading branch information...
commit 23660dcce03ab9046372c86520169560302bf64c 1 parent 4db1171
@haraldpdl haraldpdl authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 catalog/product_info.php
View
4 catalog/product_info.php
@@ -86,7 +86,7 @@
if (tep_not_null($pi['htmlcontent'])) {
$pi_entry .= '#piGalimg_' . $pi_counter;
} else {
- $pi_entry .= tep_href_link(DIR_WS_IMAGES . $pi['image']);
+ $pi_entry .= tep_href_link(DIR_WS_IMAGES . $pi['image'], '', 'NONSSL', false);
}
$pi_entry .= '" target="_blank" rel="fancybox">' . tep_image(DIR_WS_IMAGES . $pi['image']) . '</a>';
@@ -119,7 +119,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'], '', 'NONSSL', false) . '" 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>'; ?>
</div>
<?php
Please sign in to comment.
Something went wrong with that request. Please try again.