Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Null image widths or heights screwing up?


ultramouse

Recommended Posts

I've searched and can't seem to find anything similar, so hopefully someone can help.

 

I recently installed 2.2 ms2. On a previous site I had used null values for either the height or width in the image configuration, which effectively resized images without messing up the proportions. The shop's adminstrator will upload photos of all sizes and proportions, so this was working out fairly well.

 

Now I've set these attributes on the new install, and they don't appear to be working. If I specify both height AND width, it works, but when I specify only one or the other, I get nothing. Viewing the source reveals an img tag with no attributes in it.

 

Anyone else run into this ever? It doesn't help that anytime I put so much as a carriage return into html_output.php (whose image function looks normal enough), the PHP parser starts flipping out.

 

Thanks in advance to anyone.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...