Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't get an transparent overlay to work. Help pls


eprom

Recommended Posts

Posted

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> ';

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...