refile / refile-s3

Amazon S3 Backend for Refile
MIT License
36 stars 88 forks source link

SVG Support #27

Open manfe opened 8 years ago

manfe commented 8 years ago

Guys, I have to create a issue for this, because I couldn't find anything about it.

Well, I am using Rails 4 and Ruby 2.2.4 and I am uploading a SVG file to a S3 bucket.

I can upload the file and display correclty the SVG file while it's on cache folder, but when it's moved to store folder and lose the extension I try to display the image using the attachment_url(, :logo, filename: :svg) it loses the XML content for SVG file.

How can I use SVG files with Refile?