Skip to content
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

iPhone HEIC image format #1288

Closed
jayomayan opened this issue Mar 29, 2023 · 3 comments
Closed

iPhone HEIC image format #1288

jayomayan opened this issue Mar 29, 2023 · 3 comments

Comments

@jayomayan
Copy link

Support for iPhone HEIC Profile Photo Upload.

@fotrino
Copy link
Contributor

fotrino commented Mar 30, 2023

Hi, you can customize it in your app, you need to update the validation (Mimes Rules for the photo) in
App\Actions\Fortify\UpdateUserProfileInformation.php

@jayomayan
Copy link
Author

'photo' => ['nullable', 'mimes:jpeg,jpg,png,bmp,gif,svg,heif,heic', 'max:5192'],

doesn't work.

@fotrino
Copy link
Contributor

fotrino commented Mar 31, 2023

From a quick google search seems like you need an extra library installed in your server to process that kind of file & that the actual mime type would be image/heif.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants