kevbaldwyn / image

Responsive images and on the fly image sizing for laravel 4 and fuel php
23 stars 13 forks source link

Issue with newest ImageCow? #13

Closed iveoles closed 10 years ago

iveoles commented 10 years ago

I'm not sure if this is affecting anyone else, but I'm having issues recently and I think it may be related to ImageCow.

I'm receiving this error. The sting being passed appears to be empty, but I can't find where it's being called in :/

Zero size image string passed

open: /home/rvwd/vendor/imagecow/imagecow/Imagecow/Libs/Imagick.php
     *
     * @return \Imagick
     */
    public static function createFromString ($string)
    {
        $imagick = new \Imagick();

        $imagick->readImageBlob($string);

        return new static($imagick);
kevbaldwyn commented 10 years ago

Imagecow has changed it's api - requiring me to change the implementation of this package. I'm making some other changes (not to the public api) so will fix this at the same time and release it under a new 2.0 tag. Hopefully sometime this week.

kevbaldwyn commented 10 years ago

branch 1.1 fixes this issue temporarily