Image Upload - Exact Dimensions
I haven't seen a way, but is there a method to specify exact image dimensions for an upload field in CMSB? (without altering the core or creating a plugin, I'm looking for validation on an image upload field to be exactly X-width by X-height)
Many times we've been asked to integrate feature slideshows with controls in CMSB. We've done this for some clients that truly understand exact image dimensions are needed and have image editing experience (with a reminder note with dimensions in the field prefix or description). Otherwise, we won't integrate controls into CMSB for slideshows because history has shown us that the majority of our end users constantly ruin their feature slideshows and contact us for support (we end up taking controls out of their hands).
Go to Section Edtors, open the section and then click modify on the image field, and then look for the Advanced Options section. Within these options you can specify a max width and height for the images.
Images that are larger than these dimensions will be sized down proportionately to fit within the specified dimensions.
Images that area smaller will not be resized.
Something you may want to do is to hardcode the preferred image dimensions into the html. This way no matter what size image they upload, it will insure that the layout is not broken.