Does anyone know if its possible to check an image size (width & height) with eForm ?
I want users to be able to upload an image but it has to be a certain format (.jpg) and be 210px * 180px in size.
I’ve found out how users can attach a file, my form data:
<form method="post" action="[~[*id*]~]" enctype="multipart/form-data">
<label for="thumb">Attach Your Thumbnail</label>
<input name="thumb" id="thumb" type="file" accept="image/jpg" eform="Attach Your Thumbnail:file:0:Only .jpg files are allowed:#LIST jpg" />
<input name="submit" type="submit" value="Submit" />
</form>
But I sadly haven’t found out if it is possible to verify image dimensions.
Any help is always appreciated