Fares Ayyad

Fares Ayyad

  • NA
  • 235
  • 74.6k

Adding multiple images to blog post

Aug 18 2017 7:45 PM
Hello
 
I'm trying to build a blog, this blog will have several posts each post will contain images.
 
I know how to add a button to let the user upload an image from his device, baiscally i want to save the image path in the database table which called ImagePaths, and each post will have multiple images, so the relationship between post and images will be one-to-many.
 
 
i know how to implement the part of uplodaing the image and saving it's path in the table, but how to give it the proper location that the user wants it?
 
i mean if the user puts the cursor some where in the body of the post then clicks the add image button then adds an image i want to  be add ed the image in that location in the cody of the post,(like in stack overflow and C# corner as an example)
 
how to implement this?
 
 

Answers (1)