flask.cfg folder, I have the following setting:
MEDIA_ROOT = '/home/ujahdotpy/xy/xyz/project/static/img/images/' MEDIA_URL = '/static/img/images/'
Directory on my web tab as:
My problem is when I upload a new image file, a new 'images' folder is created and the newly uploaded image is stored in it making it inaccessible when I try to view it online.
How can I solve this?