jquery-imageloader icon indicating copy to clipboard operation
jquery-imageloader copied to clipboard

if you run multiple imageloader() on one image, the result may not be constant.

Open beatak opened this issue 12 years ago • 1 comments

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.

beatak avatar Jun 28 '13 18:06 beatak

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…

beatak avatar Jun 28 '13 18:06 beatak