FileUpload::make('photo_path') ->columnSpan(1) ->label('Image') ->disk('s3') ->directory('images/subsubcategories') ->preserveFilenames() ->getUploadedFileNameForStorageUsing( fn (TemporaryUploadedFile $file): string => (string) str($file->getClientOriginalName()) ->prepend(SubSubCategory::all()->id), ) ->visibility('public'),
ImageColumn::make('photo_path') ->label('Image') ->url('photo_path'),
FileUpload::make('photo_path') ->disk('s3') ->directory('images') ->multiple(),