None that I'm aware of. I guess this is somewhat OT, but does the person
you're giving the images to realize that resizing the images by means of the
HTML width/height attributes doesn't do anything to size of the file the
person viewing the page has to download? I don't know the particulars of
your situation, but say you give him a dozen high quality JPEGS at 800x600
pixels and about 120K each... if he puts those on a page and resizes them to
96 x 72 in the HTML to make 'thumbnails', the user is still going to be
stuck downloading 1440K! That's a pretty hefty page to download even if you
have a broadband connection. (From an end-user standpoint, I find it
*really* annoying when people do this!)
Maybe you can point this out to the person you're supplying images to? It's
not a PHP-based solution, but maybe it will help :)
P.S. You could put together a PHP script that would use the GD
'imagecopyresampled' function to automatically generate the thumbnails for
him, but that assumes 1) You have access to his server and 2) He has PHP ;)
> -----Original Message-----
> I'm wondering if anybody has ever figured out a way to get around the
> absolutely abysmal way that Internet Explorer resizes images?
> The problem is that the person I'm supplying the images to refuses to use
> two copies (a small one, and a large one) and instead uses one (just the
> large one) and when he needs a small representation of it he
> slaps the large
> image in and sets the width and height tags.
> The problem comes in when I'm trying to supply him with good
> looking images.
> Sure, the large image looks fine, but that smaller image gets aliased to
> hell and back. Can the large image be recompressed in such a way that it
> doesn't noticeably damage the large version, but improves how it
> looks when
> arbitrarily shrunk in IE?
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php