Skip to content

Added image url and onerror, onload events on callbacks#47

Closed
mbarzda wants to merge 2 commits intodinbror:masterfrom
mbarzda:master
Closed

Added image url and onerror, onload events on callbacks#47
mbarzda wants to merge 2 commits intodinbror:masterfrom
mbarzda:master

Conversation

@mbarzda
Copy link

@mbarzda mbarzda commented Feb 27, 2015

Error and success callbacks should have image url and event parameters for more detailed information purposes.

@eddhannay
Copy link

This would be really helpful, for example when Adblock Plus blocks a lazy-loaded image. I was going to propose a patch where removing the options.src attribute was done after the error call, but this would be much cleaner.

@dinbror
Copy link
Owner

dinbror commented Mar 1, 2016

Fixed in v. 1.5.3

@dinbror dinbror closed this Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants