librelist archives

« back to archive

pics & thb working

pics & thb working

From:
Matt Di Pasquale
Date:
2010-08-03 @ 18:03
could not decode message

Re: pics & thb working

From:
Matt Di Pasquale
Date:
2010-08-04 @ 05:18
k. It's working with the iphone now.

note: if you want to install RMagick, git clone this:
http://github.com/maddox/magick-installer
run the installer script (w/o sudo if you've followed homebrew's advice of
changing the permissions of your /usr/local dir).

Then, do:
[sudo] gem install rmagick

Matt

On Tue, Aug 3, 2010 at 2:03 PM, Matt Di Pasquale
<liveloveprosper@gmail.com>wrote:

> 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
> works.
> 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
>
> Matt
>