auto-resize external images using css media query