I am using Google Charts to display charting data in my application. Sometimes Google is slow and the charts will take a while to load. This scenario seems to be a common enough pattern -- so I'm wondering what's a good approach to show a temporary image, while the image is delivered from Google. I have access to jQuery -- and have seen a number of "preloading" plugins. Is this what I need?
Is the correct term for this scenario/pattern really called "image preloading"?
I'd love to hear what people use to solve this situation.
thanks
You can show one of those fancy loading gifs found at http://ajaxload.info/ while the image is loading. After the image is loaded you hide the loading gif and show the image itself.
check http://jqueryfordesigners.com/image-loading/ for a tutorial.
Image preloading is usually when you download images in anticipation of their being requested but before the user actually makes a request to see them. I believe the current thinking is this usually adds overhead unless a very large percentage of your users can be expected to view the image.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With