have you checked if the image is present in the place where should be after the deploy?

thanks Patrizio, the casing is correct though. Also in case it matter, but I don't think it should; apContactListViewBrowser onto which the image is being added is an absolute panel.
Dany

----- Original Message -----From: Patrizio De MicheleTo: [email protected]: Friday, May 21, 2010 6:45 AM
Subject: Re: Images not displaying when application is deployed

check if the string casing is right....maybe on the HD is called remove-32.png...

2010/5/21 Dany Joos <[email protected]>

I'm trying to display an image on a panel with the following code. I've tried .png, .gif, and .ico files and get the same results each time.

When deployed all I see is either blank or the red x. Any information would be greatly appreciated.

Thanks, Dany

Image gwtImage = new Image("js/ext/resources/images/custom/Remove-32.png"); gwtImage.setTitle("I am a GWT Image Widget"); apContactListViewBrowser.add(gwtImage, 153, 157);
gwtImage.setSize("78px", "70px");
image.setVisible(true);
--You received this message because you are subscribed to the Google Groups "GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/gwt-ext?hl=en.

--You received this message because you are subscribed to the Google Groups "GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/gwt-ext?hl=en.

--
You received this message because you are subscribed to the Google Groups "GWT-Ext 
Developer Forum" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/gwt-ext?hl=en.

Reply via email to