NAVIGATION
translate
Autor: Robert
CMS version: = alle Versionen
Verzeichnis: /include/inc_module/mod_shop/
FILE:
/include/inc_module/mod_shop/inc/listing.products.inc.php
FIND near line 232:
echo ' ' . html_specialchars($row['shopprod_ordernumber']) . "</td>\n";
AND PUT AFTER:
$row['shopprod_var']= @unserialize($row['shopprod_var']);
foreach($row['shopprod_var']['images'] as $key => $value) {
$img_thumbs = "";
// 0 :1 :2 :3 :4 :5 :6 :7 :8
// dbid:filename:hash:extension:width:height:caption:position:zoom
$thumb_image = get_cached_image(
array( "target_ext" => $row['shopprod_var']['images'][$key]['f_ext'],
"image_name" => $row['shopprod_var']['images'][$key]['f_hash'] . '.' . $row['shopprod_var']['images'][$key]['f_ext'],
"thumb_name" => md5( $row['shopprod_var']['images'][$key]['f_hash'].
$phpwcms["img_list_width"].
$phpwcms["img_list_height"].
$phpwcms["sharpen_level"]
)
)
);
if($thumb_image != false) {
// image found
$img_name = html_specialchars($row['shopprod_var']['images'][$key]['f_name']);
$img_thumbs .= '<img src="'.PHPWCMS_IMAGES . $thumb_image[0] .'" border="0" '.$thumb_image[3].' alt="'.$img_name.'" title="'.$img_name.'" />';
}
} echo '<td>'.$img_thumbs.'</td>';