Closed thomas2411 closed 12 years ago
This is not a problem with this library - you're just trying to create an image that violates the constraints of reality. Try making an image of size 1px by 1px or greater. ;)
You either need to file an issue with the maintainers of that bundle itself, or fix your own code. The parameters of Imagine\Image\Box
are the box's height and width, as a clue.
https://github.com/avalanche123/Imagine/blob/develop/lib/Imagine/Image/Box.php#L36
On localhost I found that there is a problem with loading php_exiff.dll which is caused by having php_mbstring.dll loaded after exif - which depends on mbstring. I've fixed this but still have the same error. So I guess it is connected to my WAMP server configuration or something.
Constructing a 0x0 box will give you this error, should be pretty obvious from stack trace
But I am not constructing this box by hand. Width and height should be read from a file, but they didn't.
I suggest opening an issue with SonataMediaBundle
I am using this bundle with SonataMediaBundle. Unfortunately I get this error:
I didn't find any GD errors previously in stack trace.