WideImage not working on my server
It works on Xampp localhost , but when I try it on my server, it doesnt.
require_once "lib/WideImage.php"; $img = WideImage::load('i/big.jpg'); $res = $img ->resize(400, 300); $res->saveToFile("i/small.jpg");
Server version: 5.1.61-0ubuntu0.10.10.1
Gd is installed on the server.
After a little research I found this:
WideImage is an object-oriented library for image manipulation. It requires PHP 5.2+ with GD2 extension.
But php version on your server is <5.2 Updating it will help you.
Maybe the problem is in permissions (you don't have permission to create new file).