jquery-imageloader
jquery-imageloader copied to clipboard
if you run multiple imageloader() on one image, the result may not be constant.
let's say, there's a image gallery application. There's one big picture, and there are thumbnails. When you click on each thumbnail, the big picture changes.
In a simple implementation, there's a handler attached to the click event, that triggers imageloader() on the big picture. it works most of the case.
But If you keep clicking the thumbnails before the big picture gets loaded, and if the server returns not sequentially, the eventual result may not be the way you expect. It'd be nice, if there's a way to control the result.
there can be a work around if it offers a way to cancel loading. But it feels like it adds whole different level of issues…