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
content-type wrong when converting specific format #1388
Comments
I'm also seeing this issue, using: Any advice? |
I am also seeing this issue
|
@timherby @FabianOudhaarlem could you please provide a minimal reproduction of this issue with carrierwave 0.10.0. |
Thanks for the follow-up. We actually switched to a different solution using carrierwave only for upload and ImgIx for resizing/formatting. So we no longer need this. |
I am seeing this using carrierwave 1.2.2 and mini_magick 4.8.0 and then uploading the image to S3 with fog-aws 2.0.0. The image format conversion is successful, but the original (now wrong) mime-type is stored in S3, which causes S3 to serve the file back out with the wrong mime-type. In our case, we're converting pdf to jpg, and getting those mime-types mixed up is not handled gracefully by the browser. We're working around it with a solution inspired by #617 for now. |
CarrierWave 0.8.0
Ruby 1.9.3-p545
https://github.com/carrierwaveuploader/carrierwave/blob/master/lib/carrierwave/processing/mime_types.rb#L60
Content-type should be based on the new format, but is based on the original image
The text was updated successfully, but these errors were encountered: