diff --git a/resemble.js b/resemble.js index c38553d..f8c4f25 100644 --- a/resemble.js +++ b/resemble.js @@ -131,6 +131,9 @@ URL: https://github.com/Huddle/Resemble.js if (typeof fileData === 'string') { hiddenImage.src = fileData; + if (hiddenImage.complete) { + hiddenImage.onload(); + } } else if (typeof fileData.data !== 'undefined' && typeof fileData.width === 'number' && typeof fileData.height === 'number') {