On instances with DEBUG=False pictures (cropped by easy_thumbnails) are not displayed. This is because the thumbnail_cleanup command in manage.py does not work properly:
django.core.exceptions.SuspiciousFileOperation: The joined path (/home/leo/Git/lostplaces-backend/django_lostplaces/uploads/places/1-placename.jpg) is located outside of the base path component (/home/leo/Git/lostplaces-backend/django_lostplaces/uploads/thumbs)
On an already existing instance the cropped are there, but are in the wrong folder. The settings for THUMBNAIL_MEDIA_ROOT, THUMBNAIL_MEDIA_URL and the upload of place images need to be refactored. Also already existing images might have to be moved to the correct folder within the MEDIA_ROOT, this might be a thing for migrations.
On instances with `DEBUG=False` pictures (cropped by easy_thumbnails) are not displayed. This is because the *thumbnail_cleanup* command in manage.py does not work properly:
```
django.core.exceptions.SuspiciousFileOperation: The joined path (/home/leo/Git/lostplaces-backend/django_lostplaces/uploads/places/1-placename.jpg) is located outside of the base path component (/home/leo/Git/lostplaces-backend/django_lostplaces/uploads/thumbs)
```
On an already existing instance the cropped are there, but are in the wrong folder. The settings for `THUMBNAIL_MEDIA_ROOT`, `THUMBNAIL_MEDIA_URL` and the upload of place images need to be refactored. Also already existing images might have to be moved to the correct folder within the `MEDIA_ROOT`, this might be a thing for migrations.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
On instances with
DEBUG=Falsepictures (cropped by easy_thumbnails) are not displayed. This is because the thumbnail_cleanup command in manage.py does not work properly:On an already existing instance the cropped are there, but are in the wrong folder. The settings for
THUMBNAIL_MEDIA_ROOT,THUMBNAIL_MEDIA_URLand the upload of place images need to be refactored. Also already existing images might have to be moved to the correct folder within theMEDIA_ROOT, this might be a thing for migrations.Attempted Fix in
830120a929, still needs to be tested under different cricumstances.