Add maxwidth and maxheight transformer for image media