This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

deathz0r.9
deathz0r.9

Hello, Im creating a plugin where im using fileupload field in backend, and i need to validade image dimensions (height and width), is ther a way to do it??

patroklo14744
patroklo14744

Try my new validator extension: https://github.com/Patroklo/octobercms-improved-fileupload aaaand https://github.com/cviebrock/image-validator this will add image dimension validators.

It's pretty crazy that the basic validation system doesn't have them... But... you know how the backend developers are, or in this case, the Laravel developer :P

Last updated

deathz0r.9
deathz0r.9

Tnx for your help but i already solved it by using function beforeValidate() and ValidationException.

Last updated

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.