added flexible width to image