Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading default image is not working #12

Open
massive opened this issue Aug 30, 2010 · 0 comments
Open

Loading default image is not working #12

massive opened this issue Aug 30, 2010 · 0 comments

Comments

@massive
Copy link

massive commented Aug 30, 2010

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant