© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
1 reply
Tazeen

Spatie Media Library for Filament

Hi, I am using Spatie Media Library to upload images in my Resource file, which is working fine and storing the images in the media table. However, I am facing a challenge storing the images when I am using Spatie media upload in Relation Managers. This Relation manager is having a BelongsToMany relationship with the parent Resource, and I have a pivot model for the relation manager as well where I have explicitly mentioned all the Spatie media implementations.

I am trying to dd the fetched data from the form where I am not getting the image data, whereas if I use a normal Filament file upload and upload an image, then dd the data, I am getting the image info there, so there's some issue with how the Spatie File Upload is working here

Hence, I wanted help storing the images in the media table when I upload them using this relation manager.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

filament-spatie-media-library
FilamentFFilament / ❓┊help
15mo ago
filament spatie media library plugin
FilamentFFilament / ❓┊help
13mo ago
Spatie Media Library
FilamentFFilament / ❓┊help
10mo ago
Spatie Media Library
FilamentFFilament / ❓┊help
14mo ago