I was having problems with "old" images maintaing their width and
height attributes when replaced with new images with the same url.
i.e. the image at the url is replaced with a different image.

Unfortunately, the option of changing the image file name to force new
values for width and height was not an option in my case.

While researching a solution, I discovered that if I add the following
lines to remove the width and height attributes which are never
updated when the image at the url are changed, the image is resized
appropriately both in hosted and web mode. I am using GWT 1.4.61

DOM.removeAttribute(image.getElement(), "width");
DOM.removeAttribute(image.getElement(), "height");






--~--~---------~--~----~------------~-------~--~----~
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