Marco Gasi
asked on
jquery-ui ui-resizable-se strange behavior
Hi everybody.
In a 3rd party site I'm working on to refactor it, they used jquery-ui resizable to allow user to resize an image after the upload. Everything works fine, but resizing the image I see the handles go to the top speedier than the image itself.
You can see what I mean in the 2 screenshots
I reproduced the issue here
What am I missing here?
In a 3rd party site I'm working on to refactor it, they used jquery-ui resizable to allow user to resize an image after the upload. Everything works fine, but resizing the image I see the handles go to the top speedier than the image itself.
You can see what I mean in the 2 screenshots
I reproduced the issue here
What am I missing here?
You shared localhost url so please share a public url so we can help you;
ASKER
Ooops! The link is this
Try to use all the handles (assuming that ur image id is #myimage ) :
$( "#myimage" ).resizable({
handles: "n, e, s, w"
});
ASKER
Hi Moussa. No that doesn't solve the problem. Check it now. It looks like the problem is with the height : if you resize width the image is correctly resized preserving ratio but the ui-resizable height doesn't change; if you resize the height the image doesn't resize and only ui-resizable is resized...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It solved my issue.
Thank you both for trying to help, but this time I did it myself :-)
Thank you both for trying to help, but this time I did it myself :-)