Open GoogleCodeExporter opened 8 years ago
Hi Niall,
I am using below code for select image region for crop. Server side using php
to crop.
$('#cropbox').Jcrop({
onSelect: updateCoords,
onChange: updateCoords,
aspectRatio: 1,
allowResize:true,
setSelect: [ 0,0,300,300 ],
allowSelect: true,
boxWidth: 450,
boxHeight: 400
});
function updateCoords(c)
{
$('#x').val(parseInt(c.x));
$('#y').val(parseInt(c.y));
$('#w').val(parseInt(c.w));
$('#h').val(parseInt(c.h));
}
then on save posting this value to php server.
its working fine in browser but Tablet app its not working.
If I upload big image and try to select some region it takes wrong co-ordinates
and cropping other region.
Any suggestion ?
Original comment by santosh8...@gmail.com
on 8 Jan 2015 at 12:29
Original issue reported on code.google.com by
niall_mo...@hotmail.com
on 15 Jan 2014 at 1:33