Calculate image dimensions faster
Update examples to use onready instead of onload
Add dist