Found, that file.data.complete is reset to false for short time period as well as width and height are set to zero (see my previous post). It is only done if xhr.load request follows (as well as for width and height).   Commenting this piece of code in loadImageTag solves the issue: /*// Image is immediately-available/cachedif (file.data.complete && file.data.width && file.data.height){file.data.onload = null;file.data.onerror = null;this.fileComplete(file);}*/ If image is in cac