[#79534170] max height / max width for images

Changed the classname for images, to fit frontend refactor. `.captioned` -> `.media`