Avif image not displaying. showing error-icon.avif" is not a valid image file
Unanswered
Orinoco Crocodile posted this in #help-forum
Orinoco CrocodileOP
anytime i try to display an avif image type in next.js i get an error that says- Error: Image import "C:\Users\xxxx\Desktop\notion\public\book-icon.avif" is not a valid image file. The image may be corrupted or an unsupported format. what is the reason for that? Note that i have included the image/avif format in my next.config.js