Custom Fields
Re-Envisioned
Support General Limiting or validating uploaded image size

  • Creator
    Topic
  • #30490
    Resolved matija
    Participant

    Hello.

    I have a single image field, how do I set that only images of size 300x250 px can be uploaded to that field? In case any other size, the field should throw a validation error message.

    Many thanks

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #30504
    Long Nguyen
    Moderator

    Hi,

    There is no option/setting to limit the resolution of the uploaded images. You can limit the uploaded file size by using the setting max_file_size of the field image_upload

    Get more details on the documentation https://docs.metabox.io/fields/image-upload/#settings

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.