fleximage
fleximage copied to clipboard
Loading default image is not working
Hi, I don't know if this is occurring only on my dev-machine, but Fleximage is not loading default images properly.
When fleximage tries to load the image in Model.load_image it doesn't check that if it exists. Rather it tries to load the image with Magick::Image.read, which in turn throws an exception when the file is not found.
Unfortunately that doesn't work anymore for me. Fleximage expects that exception contains string "unable to open (file|image)", but in my environment RMagick always throws exception "no decode delegate for this image format". Because of that, the fleximage fails and exception is raised.
I'm using ImageMagick 6.6.3, RMagick 2.12.2, Rails 2.3.5 with REE 2010.02