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.
0 Replies
No replies yetBe the first to reply to this messageJoin