[Gelöst] Form restrict featured image to exact image dimensions
This support ticket is created vor 2 Jahren, 10 Monaten. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.
I'm not sure that is a very good workflow though: it involves uploading the image to the server when the form is submitted, running the validation test, and rejecting the form if the image doesn't match the requirements. Your users would have waited for the image to upload for nothing.
Why not register a custom image size with those dimensions? Then when the image is uploaded WordPress will automatically generate an image of that size (subject to the cropping and resizing settings you specify).