Maybe you need to move it manually by listening to an event? https://spatie.be/docs/laravel-medialibrary/v9/advanced-usage/consuming-events
Spatie media library - hide origin image
Laravel media library is an amazing package (https://spatie.be/docs/laravel-medialibrary/v9/introduction). However...
By default, files are uploaded to the "storage / app / public / media" location. Each photo has its own directory (1,2, etc.) and the image conversion files are located in the conversions subdirectory.
No matter how I look, I can't find a way anywhere on the internet to make this amazing package save the main (original) file to another location, so that it is not available to the site visitor. I practically need to ensure that the webmaster can upload the original photo in high resolution, I want to save this file without a watermark and so that it is not available to the site visitor. On the contrary, I want to save all conversions, including the watermark.
Is there any way to achieve this?
Please or to participate in this conversation.