Saving edited image.....how??
Posted: Sun Mar 29, 2009 8:04 am
Hey guys,
I've successfully found a code that can make an rectangle on an image like ms paint
1) First, load the original image
2) Then, press a button "mark"
3) Then click on the original image to produce rectangular shape
all of the code for these step already done and the result like below..
The problem here...whenever i click on the "save" button, the program only save the original image...without the rectangular shape...what seems the problem??
my "save" code is like this
------------------------------------------------------------------------
case "save":
copy($editDirectory.$imageName, $activeDirectory.$imageName);
break;
------------------------------------------------------------------------
the producing rectangular shape are in javascript code where else the save code are in php code....
help me...wuwuuwuw
azhan
I've successfully found a code that can make an rectangle on an image like ms paint
1) First, load the original image
2) Then, press a button "mark"
3) Then click on the original image to produce rectangular shape
all of the code for these step already done and the result like below..
The problem here...whenever i click on the "save" button, the program only save the original image...without the rectangular shape...what seems the problem??
my "save" code is like this
------------------------------------------------------------------------
case "save":
copy($editDirectory.$imageName, $activeDirectory.$imageName);
break;
------------------------------------------------------------------------
the producing rectangular shape are in javascript code where else the save code are in php code....
help me...wuwuuwuw
azhan