Summernote How To Delete Images Uploaded To A Folder

1 year ago
9

00:00 Intro
00:18 Example Of Images Uploaded To Folder
01:39 Viewing Entries With Delete Button
02:15 Example of Deleting Images
02:40 Database Delete With Images & HTML
03:58 Viewing Scripts
11:34 Extra Script To Remove Images

Download Script only $5 http://bit.ly/3ZXbxmL

In Summernote you want to be able to delete your images in your directory or folder at times. As far as I can see, this is the only tutorial out there on this, so I decided to do it. I made a tutorial in the past that shows you how to upload images to a directory with Summernote. Summernote used base64 encoding, which will bloat your database. However, this is the tutorial that will show you how to delete those images out of the upload’s folder.

HTML Image Sources MySql
The problem was that people could not delete images when they deleted a post that contained HTML. So, in the database, you may have a text entry but not have the file paths listed in another table. This made it difficult to try and find them and delete them, especially when you have many posts. To solve that problem, I wrote the following scripts.

Summernote Upload Images with HTML
Many know that summernote will upload your images with all the HTML included. This is nice because it saves you from having to make separate tables for your images. It is also done with AJAX and PHP, which makes the process smoother. Let’s discuss on the following page the structure for this.

#summernote #images #delete

@PHP @PHP-MySQL by Saurabh Shukla Sir

https://www.facebook.com/pages/A1WebsitePro/139087542802830
https://www.twitter.com/a1websitepro
https://www.linkedin.com/in/maximus-mccullough-78950150/
https://pinterest.com/a1websitepro
https://www.instagram.com/maximusmcculloug/
https://www.tumblr.com/blog/a1websitepro

Loading comments...