Skip to content

Dealing with weren't loaded images

Choose a tag to compare

@MaximDubrovin MaximDubrovin released this 06 May 19:24
· 35 commits to master since this release

Added

If one of miracle's image dependencies was not loaded

To not interrupt overall miracles effects order on page, Miracle'll simulate load event for this image, continue to await other image dependencies and finally show miracle. So miracle element will be shown but with gap on wasn't loaded image's place and will look according to your design without this image. Also plugin throws error in console to notify about this case.

«Image dependency was not loaded» example