Hello,
if I try to resize image with GD extension, it throws me "500 - Internal Server Error". My error log shows:
2014-12-19 18:40:13: (mod_fastcgi.c.2562) unexpected end-of-file (perhaps the fastcgi process died): pid: 2883 socket: unix:/var/lib/lighttpd/sockets/php-fastcgi-1.socket-1
2014-12-19 18:40:13: (mod_fastcgi.c.3346) response not received, request sent: 16646 on socket: unix:/var/lib/lighttpd/sockets/php-fastcgi-1.socket-1 for /index.php?, closing connection
my code:
$this->_instance->resize($this->width, $this->height)->save();
if I try to save without resize or use Imagick, everything works fine. One additional thing - if I try to get image width or height with $this->image->getWidth(), it shows very big integer.
var_dump($this->_instance->getWidth());
var_dump(imagesx($this->_instance->getImage()));
die;
Shows:
int 140623968722816
int 260
Any ideas how to solve this problem without extending GD class?