![]() ![]() Please next time don't wast our time to read your ads. You've spend time writing trailer#1 and trailer#2 here in the thread instead of explaining the magic solution you have. Why can't you add images here? It's technically possible, what's the problem? Where's your website? i just want to know is it possible to delete uploaded image from storage folder when remove image from textarea or user have to go in ckfinder manager and. In other words, the workaround is fully tested and works 110% without any what the hecc are these trailers of the solution? We're on instagram or what? I have the solution that will solve all of your problems. hi, im using ckeditor 5 alpha.1 and ckfinder 3 for upload image on my web server. You can delete the existing image if there is any, and you can also keep the existing image if needed, it's all up to you, you will control it. Secondly, the fix I found will give you the option to delete or not to delete the same image (if there is any) sitting on the server. Therefore, I don't know if it's worth spending a few hours to write the article or not as I am pretty busy lately. Well, first, it looks like NOT many people are looking for this solution because, so far only two people responded to my comments. So your approach would definitely work, but to make it more robust you would need to disable the browse server option. If you delete that image it might break something else. The issue with this approach though is that if you use an image from the browse server option - most likely that image sitting on the server is already being used by something else. So, check back soon!īy the way would it be nice to create a video or an article? Please reply!Ĭan you please provide a link to your article, whenever you are done! Shortly I will be writing an article on my site explaining it in greater details and then post the link to the article here. In order to explain it, I would need to add screenshots which, unfortunately I cannot add them here on this post. Its working 100%! You do NOT need to implement any JavaScript codes or need any plugin to do so. Its bit technical, but with this workaround, any image which, you will delete from the textarea (CKEditor), it will also delete the same image from the folder sitting on your server. It could mark them as deleted and notify you (via email) if anyone tried to access these files in the future. Therefore, a better solution would be if Easy Image would not permanently delete these files. Initially, I thought about an additional step (between 2 and 3) where you'd get a list of files to be deleted (perhaps zipped so you could backup them) and which you'd need to confirm to delete. I've been thinking how to secure this process so you don't mistakenly remove too many files. Finally, after the list is confirmed by you, the files will be removed.It then sends the list of these URLs to Easy Image service. ![]() Your system extracts all image URLs from rich text content stored in your database.The only way how I can imagine this implemented is that Easy Image would expose an API to which you (your system) would need to provide paths to all images used in all your articles. I've been thinking about this feature a bit in the context of Easy Image.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |