Hey brian,

why don't you try file_column plugin of active scaffold to do file upload
its very good and easy to use.



On Sat, Jan 9, 2010 at 12:02 PM, brianp <[email protected]> wrote:

> Hey everyone,
> I'm still having a ton of image issues.
>
> I had been using attachment_fu and ran into errors so i changed to
> paperclip. attachment_fu was working to a degree but ran into some
> other issues. Not it seems imagemagick is broken.
>
> I've installed paperclip. With no image editing it works fine. As soon
> as I need to thumbnail anything I get this error:
>
> [paperclip] An error was received while processing:
> #<Paperclip::NotIdentifiedByImageMagickError: /var/folders/4s/
> 4sQnoBr2F2yB6Y37PPp9U++++TI/-Tmp-/IMG_1207,321,0.jpg is not recognized
> by the 'identify' command.>
> [paperclip] An error was received while processing:
> #<Paperclip::NotIdentifiedByImageMagickError: /var/folders/4s/
> 4sQnoBr2F2yB6Y37PPp9U++++TI/-Tmp-/IMG_1207,321,0.jpg is not recognized
> by the 'identify' command.>
> [paperclip] An error was received while processing:
> #<Paperclip::NotIdentifiedByImageMagickError: /var/folders/4s/
> 4sQnoBr2F2yB6Y37PPp9U++++TI/-Tmp-/IMG_1207,321,0.jpg is not recognized
> by the 'identify' command.>
>
> I've tried adding all of the following (separately) to the
> initializers/paperclip.rb as well as environments/development.rb
>
> Paperclip.options[:swallow_stderr] = false
> Paperclip.options[:command_path] = "/usr/bin"
> Paperclip.options[:command_path] = "/opt/local/bin"
> Paperclip.options[:command_path] = "/usr/local/ImageMagick/"
> Paperclip.options[:image_magick_path] = '/opt/local/bin'
>
> None of these solved the issue.
>
> I also tried reinstalling ImageMagick via macports:
> sudo port install ImageMagick
>
> I've updated my macports and all installed ports.
>
> I've tried installing imageMagick via an anti-macports script:
> http://github.com/maddox/magick-installer/blob/master/magick-installer.sh
>
> I'm tried running "identify" on the command line
> brianp$ identify image.jpg
> -bash: identify: command not found
>
> So I'm assuming the problem is at the heart of the installation as it
> seems none of the functions are being installed.
>
> Anyone have any new suggestions ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
>
>
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to