I used jQuery UI Draggable & Resizable to drag & resize a logo within a boundary.
How can I load the position & size of the resized & dragged logo from the parameter obtained by .stop()
event callback in Resizable & Draggable API ?
First Question: I got ui.position.left
, ui.position.top
, ui.size.width
, ui.size.height
from the API, but how to load it back?
Second Question: How to capture the resultant ( dragged & resized ) contents within the red boundary to become a PNG / JPG using PHP ?
Here is the jsFiddle.