Re: Alternative to Image Bundles?

2008-09-11 Thread Manik Chand
Hi, GWT.getModuleBaseURL() + img/image1_up.jpg; above url is perfect. Now I am elaborating it:- a image in browser have a separate connection to the server. this happens if every image know its URL. In your example when you are running in hosted mode jvm pick images from public folder, which is

Alternative to Image Bundles?

2008-09-10 Thread Kevin
Hi, My code has a bunch of pushbuttons. Pushing a button makes that button stand out, and fades the other, inactive pushbuttons. I have images for the up and down positions of the buttons. I've saved my images in the public/img/ directory. The hierarchy of my project is, src - com -

Re: Alternative to Image Bundles?

2008-09-10 Thread maudio
It's most likely a path issue. My css file is at the root level and all my images are under an image folder. I specify my image as follows: Notice I have no preceding / url(images/tabactiveleft.gif); On Sep 9, 6:51 pm, Kevin [EMAIL PROTECTED] wrote: Hi, My code has a bunch of

Re: Alternative to Image Bundles?

2008-09-10 Thread Kevin
The images displayed using java standalone, but they did not display in javascript when I deployed to Tomcat. Thanks for the tip though. Any other suggestions? On Sep 10, 6:24 pm, Chris Chen [EMAIL PROTECTED] wrote: Try GWT.getModuleBaseURL() + img/image1_up.jpg This URL should work