Problem: I am creating an album.So on every press of
time “NEXT” button I am loading new Images. What I want to achieve is, I want to switch from old image to new image only once the new images has been downloaded fully from server.
Actually I dont want to show partial images while loading.
Is there any solution?
PS SIMILAR QUESTION but this is for Iphone. I need for browser?
Just make a new image via javascript, and only show the image after the
onloadhas fired. This will make sure you don’t see any partial rendering of the image.Live Demo