set max width of image under media