Using FastImage to detect image dimensions in Ruby On Forem (the open source software that powers DEV, etc.) we have these display units with customizable content an admin can set. As you can see, this contains an image… which will need to load asynchronously as all images do in HTML. If height and width are…

Read More