Gregwar / Image

A PHP library to handle images
MIT License
1k stars 190 forks source link

Source image not found #131

Open aleromano89 opened 7 years ago

aleromano89 commented 7 years ago

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();