class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
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
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.