What do you mean by, the image selection doesnt work? Can you give a
clearer description o fwhere you think the problem lies?
Are you certain that the path sent back from the server is correct?
What does alert(data.path) show?
On Wed, Jan 27, 2010 at 8:21 PM, adi sembiring
I got it, i must
chage the crop function declaration become
function jCrop(f) {
$(f).Jcrop({
aspectRatio: 1,
setSelect: [0,0,150,150],
onSelect: updateCoords,
onChange: updateCoords
Hi , I'm trying to develop image crop using JQuery.
I use ajax to upload the image. after the image success fully uploaded. I
load the uploaded image using jquery to its container.
$(#image_upload).html(img src=' + data.path + ' width=\460\
id=\cropbox\ alt=\cropbox\ /);
but the image
3 matches
Mail list logo