Bustikated

Equal parts geeknobabble & jackassery

More attachment_fu Failure

Posted by BM5k on February 08, 2008 at 05:15 AM

Continuing the saga started here, I now have a legitimate business need to get image uploading working. (Before, I was just screwing around.) I am running into a different problem.

To make matters worse, I some how managed to screw up my svn repository for my previous attempt, and lost enough of the app structure that what’s left is useless.

I’ll be updating this post with things that I (re)discover along the way. First off, for a detailed description (including code, this time) of the problem I’m having, see this post at RailsForum.

Installing an Image Library

Starting with what I’d learned in my last attempt, I tried to jump straight in to core image again, but no luck. No resize is happening.

When I tried to install RMagick, using the script provided in the OSX bundle, the install failed on RMagick itself, but not before ImageMagick was sucessfully installed. Due to the failure of RMagick, I’ve moved on to MiniMagick.

Mini Magick

Ok, so the GEM apparently did NOTHING for me, even with the proper includes in my environment.rb file. Back to the plugin. Can’t be installed with plugin install, had to do it manually. BOO

This is the first thing that seems to have an effect on the server output. Still no thumbs, but the development log finally indicates that there’s some file action going on.

Testing Image Magick

There is a simple way to verify image magick is working on your server:
convert logo: logo.miff
imdisplay logo.miff
Hierarchy: previous, next

Comments

There are 0 comments on this post. Post yours →

Post a comment

Required fields in bold.