srjrol
How to use private local storage with ImageEntry
How do I setup private local storage so I can store images that are not publicly accessible and load them via ImageEntry? I tried specifying the
I also tried using
->disk('private')
but its not working.
Do I need to create a Controller and if so how should that be used with ImageEntry? I tried like ->url(fn ($record) => route('secure-images.show', ['filename' => $record->image_url]))
but this isn't working for me either.I also tried using
->visibility('private')
but I'm not having any luck wth that either...5 replies