Closed weathertopper closed 7 years ago
This seems like a good place to start, but I reckon I should watch David Banas' videos again, or at least re-read up on what scaffolds do/generate. CarrierWave
Another option: Paperclip
By the way, using scaffold to generate stuff just auto-magically makes the basic CRUD setup for an object.
I have images and image thumbnails.
I went with CarrierWave because I liked the tutorial. I had to Google and tweak a bunch of crap (naturally), but in particular I will want to update my migrations when I re-build this.
Technically, this is done because I got it working (Yay).
Added bonus-- figured out image upload via seed.rb!
I'm moving this back to 'in progress.' I need to figure out how to tag and crop pictures in the browser. If not crop, I need to figure out how to limit the dimensions of an image at upload time.
Watch this later for cropping, resizing, and preview images Railscast
I think photo tagging will be more of a brute-force JS problem dealing with image sizing and manipulation. I'll need to read a style guide to better figure out how to use other tools/files before I do this, methinks.
I'm moving this to done. Photo tagging can be another issue
There are a number of tools for doing this in Rails. Pick one. Also, how can I upload them to a less-accessible location on my machine?