You can't resize images in the browser. They'll look really -really-
bad (nearest point resizing in at least IE6).

Resize them on the server. When requesting them, send the size of the
current window along.

On Sep 2, 1:59 pm, darkflame <[EMAIL PROTECTED]> wrote:
> What I'm trying to do;
> Display an image, which is either its original width, or 80% of the
> browsers width. Whichever is smallest.
> Height is scaled preportionaly so the correct ratio is maintained.
>
> Now, I know I cant get the image size untill its loaded, so I added an
> onLoad listener.
>
> But I then ran up against this 
> issue;http://code.google.com/p/google-web-toolkit/issues/detail?id=863
>
> I cant rely on onLoad to work in IE.
>
> So whats the easiest way to achieve what I need?
> Cheers :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to