Forum Moderators: open
Is there any way, through Javascript, that I can read the width and height of a remote image that's being displayed on a page and if it exceeds a certain width/height run some code to resize its appearance in the browser?
Or just a way to set a "max width" to an image in general?