Use drag and drop to position an image

Asked

Viewed 109 times

0

My doubt is the following, I have a content posting page and on this page, at the end, I have a photo upload field 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... then I found the Dnd (Drag and Drop) of jquery, but I don’t know if it would apply for positioning, because it is not possible to raise image inside the input and then position it dragging... Is there any way for it?

1 answer

1

Use a text editor WYSIWYG like the Tinymce.

inserir a descrição da imagem aqui

Or else the Ckeditor.

inserir a descrição da imagem aqui

It’s the two I usually use.

You haven’t talked to what language you are entering this information in the database, but if you are PHP there are functions for insertion considering formatting, bold parts, tables, paragraphs and other textual organization resources.

Still, you can select which features will leave active. For example, only text and image upload as desired and as needed by the user.

Here in this very reply form there is this resource.

  • 1

    Sorry, I forgot to quote the language, but yes, it’s PHP... I’ll try it later. Thank you very much, I didn’t know these editors.

  • If I can assist you still, leave in the comments.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.