-
-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image Validation Rules Don't Work #238
Comments
@Nyratas Would it be possible to take a look at this please? 😄 |
@mdavis1982 Did you find a solution for this by any chance? |
@NioTeX I didn't. In the end we moved to a different platform and used that headless. Which was a pain because this does exactly what we need, but we couldn't trust our users to not add invalid images 😄 I'd love to dig into this to get it working, but I just don't have the time at the moment. |
I don't know if it will help but in my case, I did the following
and I put the rule as follows
|
A few changes have been released in v1.0.8 thanks to @michaelbaril's PR (#310). Could someone please confirm that all cases covered by this issue have been solved? Thanks. |
Laravel Version: 8.13.0
Nova Version: 3.14.0
Flexible Content Version: 0.2.6
When trying to validate an image, I can't get the validation rules to work. For example, when doing the following:
Both the
image
andmimes
validation rule fail, even when uploading a valid image. It also seems as though themax
validation rule isn't being applied to the image file itself.The text was updated successfully, but these errors were encountered: