set max-width on images in tiles