简体   繁体   中英

Photo site in Ruby on Rails- How to upload photos via admin?

What is the best way to be able to upload photos to a portfolio on a website created in ruby on rails via the admin? I then need the photos to upload into a javascript library. Any suggestions?

Thanks

Use paperclip or CarrierWave . These two are good gems for photo-uploading. As per 'via admin' thing, that depends on your authentication system.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM