PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I use a system command to access the ImageMagick application on a Linux install. The ImageMagick class would not exist unless you have written it or installed classes for ImageMagick. That is why the error says the class does not exist.
Maybe you just need to include the class file from some libraries you have downloaded? Sorry don't have much info to go on here..
mesz wrote:
$img = new ImageMagick($bigImage);
$img->setTargetdir('./thumbs');
$img->Resize(100,100);
$img->Save();
$img->CleanUp();
I know he original question I posted was so vague as to be untrue.
At the time I posted it I really didn't even know what Image Magick or GD library were.
I needed an image gallery in a rush so I have not had time to battle creating one myself - I have instead downloaded a script.
( I cannot think of the URL at the moment, but if anybody reading this wants to know, just ask and I will look it up ).
However I have learnt enough in the process of trying to create an image gallery that I will now do it at my leisure.
Cheers for your input.