https://github.com/directus/api . and setup scheme based on src/scheme.sqlcomposer installImage and thumbnail is uploaded to Amazon S3 and directus use S3 source to display both the thumbnail and the full image. Furthermore it should not generate a local thumbnail.
Image and thumbnail are uploaded to amazon S3 _(Which is correct)_ at path:
Original image: https://<bucket>.s3.<zone>.amazonaws.com/directus/storage/uploads/<generated_file_name>.<file_type>
Thumbnail: https://<bucket>.s3.<zone>.amazonaws.com/directus/storage/uploads/thumbnails/200/200/crop/good/<original_file_name>.<file_type>
Directus do also create a thumbnail locally (If possible) at path:
https://
If i am right this should not happen when storage is set to S3, and you now have the thumbnails two places.
Furthermore it is the local thumbnail which is used to display the image, which gives a blank image on for example Google App Engine where local storage is not possible

When opening the file at path
master branchHey @jbitsch,,
Directus do also create a thumbnail locally (If possible) at path:
https:///thumbnail/_/200/200/crop/good/ .
If i am right this should not happen when storage is set to S3, and you now have the thumbnails two places.
I tried to replicate this but not able to do so. If the adapter is s3 then the thumb will generate in s3; not in the local machine.
Although the URL for the thumbnail is always like https://<directus_app_url>/thumbnail/_/200/200/crop/good/<original_file_name>
And it is correct. As it is not containing the path of a thumbnail but it pointing out a PHP file. We have PHP file named thumbnail which will check the current adapter of your system and generate thumbnail over there as well as return too.
Hence the thumbnail URL does not depend on your adapter.
Please confirm so I can close this issue.
It's not an issue so closing this. Feel free to reopen it if you have any query.
Most helpful comment
Hey @jbitsch,,
I tried to replicate this but not able to do so. If the adapter is
s3then the thumb will generate ins3; not in the local machine.Although the URL for the thumbnail is always like
https://<directus_app_url>/thumbnail/_/200/200/crop/good/<original_file_name>And it is correct. As it is not containing the path of a thumbnail but it pointing out a
PHPfile. We have PHP file named thumbnail which will check the current adapter of your system and generate thumbnail over there as well as return too.Hence the thumbnail URL does not depend on your adapter.
Please confirm so I can close this issue.