I know if using the file upload option you can get the image size to be whatever you specify with imageWidth / imageHeight and there's options of cropping and such.
But I have a large image (for a page banner), which I want to be selected from the media, and the file url be saved to the database. The image being rendered in the backend form is way too big though. (It is a background image and cropped for the banner where it is displayed in the frontend). Changing the width value seems to change how wide the image is but the height is just the full image height. I tried adding the crop mode as you can for file uploads, but it seemingly has no effect.
Is there a way to do this that I am missing, or am I going to try and add a css class to the section and hack together some rules for this particular backend form?
Did you check the documentation for mediafinder formwidget ?
There is an
imageHeight property as for the fileupload formwidget
1-2 of 2