N
Nuxt7mo ago
George

NuxtImage With IPX not working in production

Hey, everyone! I'm building a website using NuxtImage and the image optimisation works as expected during development. However, the deployed version on vercel loads unoptimized images instead. You can see the code and the website to see what I mean. Any help and advice is welcome.
GitHub
GitHub - GeorgeDaris/mynutreatment
Contribute to GeorgeDaris/mynutreatment development by creating an account on GitHub.
3 Replies
Shohei
Shohei4mo ago
im facing the same issue did u solve this problem?
joe_black_unlucky
Vercel doesnt have the correct libraries installed in their node to support IPX image conversions. You need to store your images on bunnyCDN or similar that has the image optimization and caching built in. I personally have AWS S3 storage with an image optimization lambda function to serve my images and convert them on the fly.
George
GeorgeOP3mo ago
@shohei888 @joe_black_unlucky Thank you for the interest and help! It had been months since I had originally posted it, and was surprised to see the responses
Want results from more Discord servers?
Add your server