add maxwidth for images