Reply to Re: Use this class with images are already on the server

Re: Use this class with images are already on the server new!
by Malinga, 10 years, 5 months ago
@Colin

There is the process.

1. User should upload an image. Then user can see re sized image. (Ajax request)
2. User should select an area from the re sized image. Crop the image according to user's selection.
3. Then create another object. [$handle2->upload('path/to/local/file')] and apply cropped (step 2) image as a water mark
4. Then store in DB (file name only)

I have created 3 image objects ($handle1, $handle2, $handle3) to do this.

The image which on my server is static image. That image should be background image.Cropped image use as a watermark on the my image.

$handle= new upload("/home1/ribelzxxx/public_html/apps/xxxx/images/mergePhone.png");

When calling above statement will be deleted 'mergePhone.png' and renamed as 'mergePhone.png'. i want to keep 'mergePhone.png' in without rename. this image call every image processing.Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important