Cannot rotate images

See all posts See thread Reply

Re: Cannot rotate images new!
by Keith Taylor, 8 years, 8 months ago
Got it !
$handle->image_rotate = '90';
$handle->file_overwrite = true;
$handle->process('images/small');

You have to quote the file path in the process method. Not intuitive, as the class already knows the full path from when it is instantiated.Reply
Re: Cannot rotate images new!
by colin, 8 years, 8 months ago
I should have caught that in your code... Indeed, you need the path when calling process(), as an absolute or relative path.

If you call process() without an argument, it outputs the image directy to the browser. It is documented hereReply