Using with AUG "Automatically Rescale Your Product Images.."
Posted: Sat Aug 09, 2008 7:46 am
If you want Multi Product Images operating with the "Automatically Rescale Your Product Images to a Certain Size" tweak do the following:
NB: UNTESTED PATCH - MAY REQUIRE DEBUGGING!
In your Thumbnail Product Image layout, look for
add the following below it (all on one line)
And in your Extra Image Table layout, look for
and replace with
Also look for the line
and replace with
NB: UNTESTED PATCH - MAY REQUIRE DEBUGGING!
In your Thumbnail Product Image layout, look for
Code: Select all
echo "<img src=\"$sThumbImageName\" width=\"$t_width\" height=\"$t_height\" border=\"0\"";
Code: Select all
echo ' id="im-<actinic:variable name="EncodedProductAnchor" encoding="perl" selectable="false" />"';
Code: Select all
$mainimagefilename = '<actinic:variable name="ProductImageFileName" encoding="perl" selectable="false" />';
Code: Select all
$mainimagefilename = 'Thumbnails/t_<actinic:variable name="ProductImageFileName" encoding="perl" selectable="false" />';
Code: Select all
$extraimages[0] = '<actinic:variable name="ProductImageFileName" encoding="perl" selectable="false" />';
Code: Select all
$extraimages[0] = 'Thumbnails/t_<actinic:variable name="ProductImageFileName" encoding="perl" selectable="false" />';