You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browser type and version: Google Chrome 112.0.5615.165
Reproduction Repository: N/A
Description:
The Image field accepts .avif file format and displays them properly in the Index and Detail views but when they are viewed in the Create or Edit mode, they show as a generic icon. Other image formats like .png show in all views just fine. This issue appears to exist regardless if using public disk or s3.
Basically, it's exactly the same issue as fixed .webp and it is also easily solved by simply adding image/avif to const imageTypes in vendor/laravel/nova/resources/js/composables/useFilePreviews.js
Detailed steps to reproduce the issue on a fresh Nova installation:
Add an Image field to any resource.
Upload a .avif file.
View the generic icon in Create and Edit views.
The text was updated successfully, but these errors were encountered:
Description:
The Image field accepts .avif file format and displays them properly in the Index and Detail views but when they are viewed in the Create or Edit mode, they show as a generic icon. Other image formats like .png show in all views just fine. This issue appears to exist regardless if using public disk or s3.
Basically, it's exactly the same issue as fixed .webp and it is also easily solved by simply adding
image/avif
toconst imageTypes
invendor/laravel/nova/resources/js/composables/useFilePreviews.js
Detailed steps to reproduce the issue on a fresh Nova installation:
The text was updated successfully, but these errors were encountered: