If the Samsung Cloud is enabled on your Samsung Galaxy S8, then photos and pictures you delete in the Gallery app will be moved to the Trash. This is a useful thing because it will not delete photos inadvertently.
Now you might want to know: Where is the trash bin on the Samsung Galaxy S8? This question will be answered here:
To do this, open the App menu on the smartphone and then the "Gallery" app, where you can view photos and videos. From here, continue to the three-dot icon on the top right. Select the icon and in the menu that opens, tap on "Settings".
You are now in the gallery settings. These look like this: In the section above with "Samsung Cloud Synchronization" you will now find the menu item "Recycle Bin".
You can now access images and photos that have been moved to the Recycle Bin and finally delete or restore them.
You now know where on the Samsung Galaxy S8 the recycle bin of the Samsung Cloud is located.