Add a max height for the image preview when posting