Tutorial: Get an image’s real height and width
If you’ve tried working with JavaScript and images in responsive design, you know that trying to figure out the actual size of an image (before it was resized) is tough. Here’s how to do it.
If you’ve tried working with JavaScript and images in responsive design, you know that trying to figure out the actual size of an image (before it was resized) is tough. Here’s how to do it.
No comments yet.