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

Provider Vercel is ignoring format #1365

Open
MickL opened this issue May 20, 2024 · 0 comments
Open

Provider Vercel is ignoring format #1365

MickL opened this issue May 20, 2024 · 0 comments
Labels

Comments

@MickL
Copy link

MickL commented May 20, 2024

According to Nuxt Image docs the output file format can be set (e.g. webp, jpg, png). Vercel also supports setting the output file format according to the docs.

However, this config needs to be set for each deployment but the Vercel provider totally ignores the format config.

Further the Nuxt Img docs state:

If the format is not specified, it will respect the default image format.

But this is not true, when using a jpg image and the format is not specified Vercel outputs webp.

Also I noticed the docs say there is a format prop to change the output for a specific image. However this is not true for all providers, e.g. Vercel does not have a query option to set the format.

It is very important to set the format for other libraries to work. E.g. nuxt-og-image is using Satori which does not support webp.

@danielroe danielroe added the provider label May 29, 2024 — with Volta.net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants