Re: pics & thb working
- Matt Di Pasquale
- 2010-08-04 @ 05:18
k. It's working with the iphone now.
note: if you want to install RMagick, git clone this:
run the installer script (w/o sudo if you've followed homebrew's advice of
changing the permissions of your /usr/local dir).
[sudo] gem install rmagick
On Tue, Aug 3, 2010 at 2:03 PM, Matt Di Pasquale
> I made a script w/ nokogiri & rmagick to scrape 110, 320 x 480 images from
> google & resize them to 75 x 75 thumbs. so 220 images total.
> You can run the ffaker script to populate your mongodb with the photos.
> make sure to unzip them into the dir: acani-sinatra
> I can show u on wed. night too.
> It works!
> check out the last files i modified in the last commit to learn how it
> get-photos.rb # get pics from google save & convert to thbs & save (see
> attached files)
> ffaker-test.rb # load into mongodb & gridfs
> acani.rb # serve the thbs & pics