Latest News: (loading..)
Issue Information
-
#000341
-
1 - Low
-
Future Release
-
2.3.1
-
-
Issue Confirmations
-
Yes (0)No (0)
Hi Mark,
no_picture.gif found in images\dvd folder, but base oscommerce not represent this problem out of development mode.
as
in html_outputs files I suggest to modify tep_image functions. If $src is not set correcty then nothing happens.
Pls move catalog\images\dvd\no_picture.gif to catalog\images\no_picture.gif and modify htm_outputs somethig like this:
Maybe good a set parameter for this.
I dont know why is it, but this could be clever. What do you think?
Regards,
Gergely
no_picture.gif found in images\dvd folder, but base oscommerce not represent this problem out of development mode.
as
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Image Required', 'IMAGE_REQUIRED', 'true', 'Enable to display broken images. Good for development.', '4', '8', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now());
in html_outputs files I suggest to modify tep_image functions. If $src is not set correcty then nothing happens.
Pls move catalog\images\dvd\no_picture.gif to catalog\images\no_picture.gif and modify htm_outputs somethig like this:
////
// The HTML image wrapper function
function tep_image($src, $alt = '', $width = '', $height = '', $parameters = '') {
//auto replace with defined missing image
if (($src == DIR_WS_IMAGES || !file_exists($src)) && (IMAGE_REQUIRED == 'true')) {
return false;
} elseif ($src == DIR_WS_IMAGES || !file_exists($src) {
$src = DIR_WS_IMAGES . 'no_picture.gif';
}
Maybe good a set parameter for this.
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('No Image Required', 'NO_IMAGE_REQUIRED', 'true', 'Enable to display no images.', '4', '9', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now());
I dont know why is it, but this could be clever. What do you think?
Regards,
Gergely










