Gregwar/Image

Source image not found

Opened this issue · 0 comments

I'm trying to resize a png image, but it return fallback image path from main server, without no error in log file. Is there a feature in order to explain error type?
If I try from another server using the same script, I get the correct image path.

this is my code:

require_once '../../vendor/autoload.php';
use Gregwar\Image\Image;

$original ='/media/catalog/product/d/u/durex-play-delight.png';
$image = Image::open( $original);
$image->resize(400, 400);

echo $image->png();