Get an Images Native Width
If you select and image with jQuery and then use .width()
, you’ll get the images current width, even if it’s been scaled (e.g. max-width: 100%;). You can access the images native width (even if it doesn’t have any attributes …