Skip to content

Loading default image is not working #12

@massive

Description

@massive

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions