Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Closed
wants to merge 2 commits into from
Closed

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

wants to merge 2 commits into from

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants