Ver Mensaje Individual
  #9 (permalink)  
Antiguo 20/10/2009, 10:57
simbad1
 
Fecha de Ingreso: marzo-2009
Mensajes: 95
Antigüedad: 15 años, 1 mes
Puntos: 0
Solucionado!!!

Parecía dificil pero encontré la solución

Simplemente hay que cambiar parte del código del archivo theme.php

Dicho archivo se encuentra en componentes - com_virtuemart - themes - default

La función de vmlisAdditionalImage, se sustituye por lo siguiente: (simplemente copia y pega, eliminando la función que tu tengas)

function vmlistAdditionalImages( $product_id, $images, $title='', $limit=1000 ) {
global $sess;
$html = '';
$i = 0;
foreach( $images as $image ) {
$thumbtag = ps_product::image_tag( $image->file_name, 'class="browseProductImage"', 1, 'product', $image->file_image_thumb_height, $image->file_image_thumb_width );
$fulladdress = $sess->url( 'index2.php?page=shop.view_images&image_id='.$ image->file_id.'&product_id='.$product_id.'&pop= 1' );

if( $this->get_cfg('useLightBoxImages', 1 )) {
$html .= vmCommonHTML::getLightboxImageLink( $image->file_url, $thumbtag, $title ? $title : $image->file_title, 'product'.$product_id );
}
else {
$html .= vmPopupLink( $fulladdress, $thumbtag, 640, 550 );
}

if( ++$i > $limit ) break;
}
return $html;
}