1
I have an HTML code like this:
<div class="conteudoFrente">
<div id="draggable">
<div class="draggableFrase">
</div>
</div>
</div>
The div with the class "content" has a background image.
The div with id "draggable" it can receive up to 4 images that the user sends through a form with 4 inputs file, and it has the "width:150px; height:194px" (a standing rectangle).
The div with the class "draggableFrase" receives a phrase typed by the user, the same form now with an input text field
NOTE: I am using the library jQuery UI (components: Draggable and Resizable). So when the user sends the first image, he can drag it anywhere in the rectangle, and he can also resize it. The other images can be placed on top of each other, but on the right, leaving only half a sample image. Similarly, the phrase typed by him can also be dragged anywhere in the rectangle.
Doubt:
I can recover all the images and phrase and save them in the database, however I cannot know the position of the images, whether they have been resized or not, whether the phrase typed is above, in the middle or below.
Suggestion:
Try in some way, turn the div "contentFrente" into just an image, or pdf, or even turn the entire HTML page into a url, I don’t know.
I just need to be able to retrieve the information the way the user defined it.
I hope I explained it properly, but I’m willing to answer any questions you left on the air.