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

improve @InlinedImage to detect mime type #180

Merged
merged 2 commits into from
Jan 6, 2025
Merged

Conversation

Seb33300
Copy link
Contributor

@Seb33300 Seb33300 commented Sep 5, 2024

Auto detect the mime type of images so the @InlinedImage can be used with SVG, JPEG, ... images

@freekmurze
Copy link
Member

Could you add tests to prove that this works?

@Loetwiek
Copy link

Just tested and can confirm this works with svg and png

@Seb33300
Copy link
Contributor Author

I am currently on holidays, I will try to add some tests when I come back in January.

@Seb33300
Copy link
Contributor Author

Seb33300 commented Jan 6, 2025

Hi @freekmurze, I just pushed a new test case

@freekmurze freekmurze merged commit 3abff07 into spatie:main Jan 6, 2025
1 check passed
@freekmurze
Copy link
Member

Thank you!

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.

3 participants