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

[feature] SVG Data URL #47

Merged
merged 14 commits into from
Mar 4, 2024
Merged

Conversation

kriserickson
Copy link
Collaborator

Allows for uploading SVG images and converting them to dataUrls that aren't base64 encoded (https://css-tricks.com/probably-dont-base64-svg/)

@inssein
Copy link
Contributor

inssein commented Dec 22, 2023

Damn sorry @kriserickson but this PR is probably going to have to change a bunch after the image convert stuff merges.

@inssein inssein changed the title Svg data url [feature] SVG Data URL Dec 22, 2023
@kriserickson
Copy link
Collaborator Author

Damn sorry @kriserickson but this PR is probably going to have to change a bunch after the image convert stuff merges.

Yup. Probably be only a few minutes to rewrite though.

@inssein
Copy link
Contributor

inssein commented Jan 3, 2024

Okay so I am happy to merge now, but here are some thoughts that I don't know what to do about right now:

  • When you drag and drop a file you can drop a file with any extension, which kind of still works but if it's not an image, the preview breaks.
  • Annoying that you must select the right type before you drag and drop. Worse than the image converter because if you change type, you have to drop file again. There is no real way around this because a user can also paste and then edit contents, so saving the file reference alone will just be as broken of an experience.

@inssein
Copy link
Contributor

inssein commented Jan 3, 2024

@kriserickson approving it so feel free to merge, but let me know if you have thoughts on my comments.

@inssein inssein merged commit e5aff13 into mnara-solutions:main Mar 4, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants