Fileupload directory on create

Hello, I am using Fileupload to upload property listing gallery images but I need to upload the images inside the listings/{id} folder but as the record is not created yet then I don't have the id to move the files to. Please let me know if there is any tip or trick to make it work on create? Thank you
2 Replies
LeandroFerreira
LeandroFerreira16mo ago
Filament
Spatie Media Library by Filament - Filament
Filament support for Spatie's Laravel Media Library package.
mohdaftab
mohdaftabOP16mo ago
Hi @Leandro Ferreira I am using the Curator for images on my other pages but this is for property listing and I don't want to give access to media library to the agents. So when they upload their own listing they have their own folders where they upload the listing photos.

Did you find this page helpful?