-
Notifications
You must be signed in to change notification settings - Fork 57
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
Vendor can't add a product picture #91
Comments
Sounds like a permission issue with the storage/public folder |
try a .png image |
but i want to be able to upload other picture formats like jpg and gif. public function rules() |
That is correct. Just execute the permissions again as a root user. It must be a PNG File. |
Did you resolved your issue? what was your solution to extend the picture uploading? |
Type of file. And size.
Check this.
…On Tue, Dec 5, 2023, 4:07 PM pacino01 ***@***.***> wrote:
but i want to be able to upload other picture formats like jpg and gif. I
have tried to modify the code here like this but still not working
public function rules() { return [ 'picture' => 'required|image|
mimes:jpeg, png, jpg, gif | max: 1024 |
dimensions:min_width=256,min_height=256', 'first' => 'boolean|nullable', ];
}
Did you resolved your issue? what was your solution to extend the picture
uploading?
—
Reply to this email directly, view it on GitHub
<#91 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXSCEGDIEKEKA4JAPHZ7TQDYH6ZNJAVCNFSM6AAAAAA77MUZXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBRHA2TKMZYGY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Vendor can't add a product picture, error code after uploading the picture : "You don't have any images added, it must be at least one!"
The text was updated successfully, but these errors were encountered: