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

Storyblok Provider doesn't handle of SVG's as expected #415

Closed
mrillusion opened this issue Sep 13, 2021 · 2 comments
Closed

Storyblok Provider doesn't handle of SVG's as expected #415

mrillusion opened this issue Sep 13, 2021 · 2 comments

Comments

@mrillusion
Copy link

Current Behaviour
When using the Storyblok provider with the base URL set to "https://img2.storyblok.com" to get SVG assets they are transformed into .png assets rather than the original .svg format.

Expected Behaviour
When using the Storyblok provider to get assets that could be either vector or raster asset types there should be a way to preserve vector (.svg) assets. This would stop these vector assets from using the base URL "https://img2.storyblok.com" and instead use "https://a.storyblok.com" with no image transformation parameters. This would ensure .svg assets are not transformed into .png assets rather than the original .svg

@Schascha
Copy link

I run in the same issue today. All my SVG assets looked blurry. As a quick fix you can disable the Stoyblok provider for SVGs only.

@Baroshem
Copy link
Collaborator

Closing as the workaround was provided :)

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