I have an HTML code like this:
<div class="conteudoFrente">
<div id="draggable">
<div class="draggableFrase">
</div>
</div>
</div>
The div with the "contentFront" class has a background image.
The div with draggable id can receive up to 4 images that the user submits for a form with 4 inputs file, and it has "width: 150px; height: 194px " (a rectangle of foot).
The div with draggableFrase class receives a user-entered phrase, the same form now with an input text fieldNOTE: I am using the jQuery UI library (components: Draggable and Resizable) . Then, when the user submits the first image, it can drag it anywhere in the rectangle, and can also resize it. The other images in the same way, you can even put one on top of the other, but to the right, leaving only half of a sample image. Similarly, the phrase you type can also be dragged anywhere in the rectangle.
The question:
I can recover all the images and the phrase and save them in the database, however I can not know the position of the images, whether they have been resized or not, if the phrase you entered is in the middle or bottom.
Suggestion:
Try to somehow transform the "contentDial" div into just one image, or pdf, or even turn the entire HTML page into a url, I do not know.
I just need to be able to retrieve information the same way the user has defined them.
I hope I have explained it right, but I am willing to answer any questions you may have left.