Load and resize image from same server

See all posts Reply

Load and resize image from same server new!
by walter, 16 years, 1 month ago
Hellow all,

Is it possible to load an image from the same server (so no file upload), crop it and place an watermark png file. Then the created file should be show.

thanks alot.

greetz
walterReply
Re: Load and resize image from same server new!
by colin, 16 years, 1 month ago
Yes, it is possible. Simply instanciate the class with a local image filename, and you will be able to process it as if it has been uploaded.

$handle = new upload('/home/pics/abc.png');
Reply