SammyLin / redactor-rails

This repo is deprecated. Please check out official gem for Redactor 2. https://github.com/Redactor2/redactor2_rails
MIT License
389 stars 253 forks source link

redactor-rails with AWS S3 buckets #109

Closed ghvillasboas closed 9 years ago

ghvillasboas commented 10 years ago

Is it possible to get this gem working with a AWS S3 bucket for image uploads? I can successfully upload and manipulate files directly on the Rails Models using carrierwave/fog, but having a hard time to make Redactor to list and upload files to S3.

Already tried the example provided by the Imperavi guys (http://imperavi.com/redactor/examples/s3/) but no progress with Redactor-Rails. Any insights?

Best.

seoyoochan commented 10 years ago

I need to work with a AWS S3 bucket for uploading too. Did you find any solution for this?

Jellyfishboy commented 10 years ago

I've also been having trouble getting this working. I can upload files locally, but in production (when using S3) it doesn't even show an image upload option. Anyone found a solution for this?

https://github.com/SammyLin/redactor-rails/issues/122

drwpow commented 9 years ago

It should work if you change

storage :file

to

storage :fog

in the app/uploaders uploaders.