per avere img delle stessa larghezza:
file calatog/includes/functions/html_output.php
riga 106 circa
Codice: Seleziona tutto
if ( ($width) && ($height) ) {
// $image .= ' width="' . tep_parse_input_field_data($width, array('"' => '"')) . '" height="' . tep_parse_input_field_data($height, array('"' => '"')) . '"';
$image .= ' style="max-width:' . tep_parse_input_field_data($width, array('"' => '"')) . '" height="' . tep_parse_input_field_data($height, array('"' => '"')) . '"';
}
per sostituire una immagine di default (default.gif) ogni volta che non è inserita una immagine per il prodotto:
file calatog/includes/functions/html_output.php
riga 80 circa
Codice: Seleziona tutto
if (!(file_exists($src))) {
$image = '<img src="'. DIR_WS_IMAGES . 'default.gif" border="0" alt="' . tep_parse_input_field_data($alt, array('"' => '"')) . '"';
} else {
$image = '<img src="' . tep_parse_input_field_data($src, array('"' => '"')) . '" border="0" alt="' . tep_parse_input_field_data($alt, array('"' => '"')) . '"';
}
if (tep_not_null($alt)) {
$image .= ' title=" ' . tep_parse_input_field_data($alt, array('"' => '"')) . ' "';
}
spero vi sia utilte... a seconda della versione di osc che avete potrebbe essere necessario cambiare parte di questo codice.
ciao