Results 1 to 2 of 2
Thread: php > product_id image_id ?
Hybrid View
-
12th December 2011 17:29 #1Registered User
Join Date: Jul:2010
Location: -
Posts: 647
php > product_id image_id ?
PHP Code:
$bla = 'index2.php?page=shop.view_images&image_id='.$image->file_id .'&product_id='.$product_id.'&pop=1';
$text = ps_product::image_tag($product['product_thumb_image'], $img_attributes, 1)."<br/><span class=\"enlarge\">".$VM_LANG->_('PHPSHOP_FLYPAGE_ENLARGE_IMAGE')."</span>";
$product_image = vmPopupLink( $bla, $text, $width, $height );
}
else {
$product_image = "<a href=\"$bla\" target=\"_blank\">"
. ps_product::image_tag($product['product_thumb_image'], $img_attributes, 1)
. "</a>";
}
}
}
return $product_image;
}
?lovelife.bg - ,
-
12th December 2011 19:17 #2




Reply With Quote
Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in