PDA

View Full Version : [TiM's osC Solutions] Cached image thumbnails



michael_s
03-08-2010, 03:11 PM
Same as previous release, but previous release had an error.

Full package

##### Changed #####

Bad code:

// START STS v4.4:
if (is_object($sts)) {
global $sts;
$sts->image($src); // Take image from template folder, if exists.
}
// END STS v4.4

Good code:

// START STS v4.4:
global $sts;
if (is_object($sts)) {
$sts->image($src); // Take image from template folder, if exists.
}
// END STS v4.4



More... (http://addons.oscommerce.com/info/6867)