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

Support for SVG #136

Open
davidpanzarella opened this issue Oct 1, 2021 · 2 comments
Open

Support for SVG #136

davidpanzarella opened this issue Oct 1, 2021 · 2 comments
Assignees
Labels
feature New functionality

Comments

@davidpanzarella
Copy link

Is there any reason why SVGs don't get uploaded if they're in the path to upload? Cloudinary does a pretty good job optimizing them vs compressing them locally, which is why I prefer to use them from Cloudinary. However, they never get uploaded with this plugin. Is this something we can change in the config to define which asset types we'd like uploaded?

@raae
Copy link
Collaborator

raae commented May 24, 2022

@olavea and I are tasked with getting this plugin up-to-date 🥳

We plan to solve this issue by adding a plugin option for allowed media types, and using the current types (['image/png', 'image/jpeg', 'image/gif']) as default. In that way you could override and add SVG without us breaking it for someone else.

How does that sound @davidpanzarella?

@cloudinary-raae cloudinary-raae added the enhancement New feature or request label Jun 6, 2022
@cloudinary-raae cloudinary-raae added this to the Summer 2022 Upgrade milestone Jun 7, 2022
@olavea
Copy link
Collaborator

olavea commented Jun 13, 2022

✋ 😸 🏴‍☠️

olavea added a commit to raae/gatsby-transformer-cloudinary that referenced this issue Jun 13, 2022
olavea added a commit to raae/gatsby-transformer-cloudinary that referenced this issue Jun 13, 2022
@cloudinary-raae cloudinary-raae removed this from the Summer 2022 Upgrade milestone Jul 27, 2022
@cloudinary-raae cloudinary-raae added feature New functionality and removed enhancement New feature or request labels Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality
Projects
None yet
Development

No branches or pull requests

4 participants