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

MiniMagick: use read method to get file data #2349

Merged
merged 2 commits into from
Dec 24, 2018

Conversation

artygus
Copy link
Contributor

@artygus artygus commented Oct 30, 2018

Fixes #1947 and the issue described in #2299

When a file is uploaded and it is still not saved yet, getting its width or height fails with an error message something like in #1947. So this fix uses the cached file first if it is available or use previous strategy to continue.

@mshibuya mshibuya merged commit 0dc4277 into carrierwaveuploader:master Dec 24, 2018
@mshibuya
Copy link
Member

Makes sense, thanks!

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.

Problem with MiniMagick height and width methods
2 participants