IE can’t resize images!
-
Hey all
I have a problem with IE.
I’m using Opera and a WordPress Plugin to make the insertion of images into a blog post easy and unified.
I added some code to automatically get, resize and insert the image:<?php $size = getimagesize (c2c_get_custom('image')); $divide = $size[0] / 150; $high = $size[1] / $divide; echo $high ?> " hspace="3" vspace="3" width="150" />
Works perfectly in Opera, but IE only displays a 1px wide line of different colors, supposedly the first 1px wide line of the image!
What can I do? I don’t know how to identify browsers, and I can’t think of any other code that would work for IE.
Can anyone please post some code (maybe an if…else) that’d solve this for me?
Thank you very much!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘IE can’t resize images!’ is closed to new replies.