Hi,
I need to create a image editing tool in php. I'm begginer to the php.
I tried it in 'javascript' but I need it to create it in php. my javascript
code also didn't work(crop box is didn't work properly even it didn't move). I have no idea to how to do it.
So that i need your help to do that correct.
I want to crop the image and replace the image at the same place.
Please be kindly help me for create that.
Thank you.
p.s. here is my js code.I'm sure the code was not help for you guys to help me for that case.
$(document).ready(function() {
$('#box').darggable({containment:'#container'});
$('#box').resizable({containment:'#container'});
$('#crop').click(function(){
var top = $('#box').position().top;
var left = $('#box').position().left;
var width = $('#box').position().width;
var height = $('#box').position().height;
alert('Top' + top + 'Left' + left + 'Width' + width + 'Height' + height);
});
});