Use drag and drop to position an image

0

My question is the following, I have a page of content posting and in this page, at the end, I have a field of photo upload to be part of the content ... But what I wanted is for the user to position the photo according to his need, similar to Word ... there I found the DnD (Drag and drop) of jquery, but I do not know if it would apply for positioning, because it is not possible to upload image inside the input and then position There's some way to do this?

    
asked by anonymous 06.08.2018 / 06:04

1 answer

1

Use a text editor WYSIWYG as TinyMCE .

Orthe CKEditor .

These are the two I usually use.

You have not spoken with which language you are inserting this information into the database, but if it is PHP there are functions for insertion considering the formatting, bold parts, tables, paragraphs and other textual organization resources.

Still, you can select which features will be active. For example, just the texts and upload images according to the user's will and need.

Here in this answer form there is this feature.

    
06.08.2018 / 06:27