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
[ActiveStorage] Allow variant
method to be called by TIFF
images
#34824
[ActiveStorage] Allow variant
method to be called by TIFF
images
#34824
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the PR looks fine. I have one minor styling comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
@georgeclaghorn I think this is ready to merge.
Last thing: let’s convert the existing $ convert -compress none activestorage/test/fixtures/racecar.jpg activestorage/test/fixtures/racecar.tif I’d just give you the resulting TIFF file, but GitHub doesn’t allow attaching it and I’m too lazy to upload it elsewhere. |
@georgeclaghorn well done sir! let me know if looks good! |
[ActiveStorage] Allow `variant` method to be called by `TIFF` images rails/rails#34824
Summary
Allow a new image extension(
tiff
) to call thevariant
method and generate custom imagesOther Information
Fixes #34698
TIFF
images are supported by IE and Safari browsers, but not by Chrome or Firefox