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!