Dileet
Dileet

Reputation: 2064

Ruby On Rails gallery zip archive download

I have a rails app that allows users to create galleries and then have people upload photos to the gallery. I was wondering what's the easiest most efficient way for users to download the gallery as a zip file with all containing pictures inside? The gallery can change anytime since users can upload pictures.

Tech wise, the app uses carrierwave and uploads the pictures to amazon S3 while being hosted on Heroku.

Any help would be appreciated.

Upvotes: 2

Views: 430

Answers (1)

Sergey K
Sergey K

Reputation: 5107

You have to check out Rubyzip gem. Also, as your galleries change often you should to generate zip archive on the fly, I guess.

Upvotes: 1

Related Questions