Go Back   SmartClient Forums > Technical Q&A
Wiki Register Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 4th Jul 2009, 14:27
hawkettc hawkettc is offline
Registered Developer
 
Join Date: Sep 2008
Posts: 102
Default Image loading

Hi,

I'm wondering if there is a best practice for preloading images. When any user first hits an application, the rendering of the skin is very fragmented due to image loading. After a first run through the application, it is fine, due to the browser caching the images, but unfortunately the customer's first impression is not great. I know Sanjiv has mentioned using image bundles

http://www.screaming-penguin.com/docs/gwt-1.4.10/doc/html/com.google.gwt.doc.DeveloperGuide.UserInterface.Im ageBundles.html


for SmartGWT - is there any possibility of something similar for the plain-old-javascript implementation? Thanks,

Colin
Reply With Quote
  #2  
Old 5th Jul 2009, 11:23
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 30,516
Default

Use the FileLoader to precache images. This is why there's no "image popping" in the SmartClient showcase.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


© 2010,2011 Isomorphic Software. All Rights Reserved