O
O
onemantwo2017-05-11 22:39:36
css
onemantwo, 2017-05-11 22:39:36

How to overlay and move elements on an image?

Good day. There is a desire to make another service of dynamic covers in VK. There are no problems with the server part - the problem is with the creation of the editor of this cover. The essence is something like this:
1. The user presses the "Upload image" button.
1.1 The image is loaded immediately without refreshing the page.
2. The user clicks on one of the buttons that creates an element on the image that can be moved over it (with the mouse) and change the size of the element (whether it be the size of a photo or font).
3. The position of the elements is passed in the post request.
Example: https://smmrecover.com/members/editor
959eda91bb03aeb0c0cbd2ccb4a5273b.png
I don't know which way to dig and google - please help.
UPD:
Google didn't help. Similar questions from the Toaster began to help.
Drag and drop: https://learn.javascript.ru/drag-and-drop

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Kitmanov, 2017-05-11
@k12th

fabricjs.com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question