auto resize external images using media query