When there is not an image for a product in the 'large' folder, but there is an image in the 'medium' folder, the small image is shown in the popup instead of the 'medium' image.
In `includes\modules\pages\popup_image\header_php.php` (version 2984 2006-02-07 22:00:25Z drbyte) line 53 and 56 should use "$products_image_medium" and not "DIR_WS_IMAGES . 'medium/' . $products_image_medium".
PHP Code:if (!file_exists(DIR_WS_IMAGES . 'large/' . $products_image_large)) {
if (!file_exists(DIR_WS_IMAGES . 'medium/' . $products_image_medium)) {
$products_image_large = DIR_WS_IMAGES . $products_image;
} else {
$products_image_large = DIR_WS_IMAGES . 'medium/' . $products_image_medium;
}
} else {
$products_image_large = DIR_WS_IMAGES . 'large/' . $products_image_large;
}
PHP Code:if (!file_exists(DIR_WS_IMAGES . 'large/' . $products_image_large)) {
if (!file_exists($products_image_medium)) {
$products_image_large = DIR_WS_IMAGES . $products_image;
} else {
$products_image_large = $products_image_medium;
}
} else {
$products_image_large = DIR_WS_IMAGES . 'large/' . $products_image_large;
}



