eprom Posted January 18, 2013 Posted January 18, 2013 I'm trying to overlay a product image with a transparent .png, but while I can see the overlay image, I can't see the product image. What am I doing wrong? It's in this part of code in my product_listing (OSC v. 2.2 MS2) Thanks for helping. $lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_ICONS . 'test.png', SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'style="background:url (' . DIR_WS_IMAGES . $listing['products_image'], $listing['products_name']) . '</a><br> ';
djmatrix Posted January 21, 2013 Posted January 21, 2013 Hello You may want to have a look at this contribution which may help you out. http://addons.oscommerce.com/info/8258 Also may i suggest that the actual product image is not set as the background as i dont think that will work.. The above link should point you in the right direction.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.