Hello, I have a user-friendly post editor in my web site using TinyEditor or CK Editor. I want to add an option in which the user can upload pictures to the system and put it on the post.
I don’t want to store the pictures in the website directory because they are not part of the website software data (PHP files, CSS, etc…). If I replace the website directory with a new version, I have to be careful for not deleting the pictures accidentally.
I could store the pictures into the database, but it is weird and may have performance issues.
What is a good strategy for storing pictures related to content data (posts)?