Displaying multiple images uploaded from SpatiesMediaLibrary intp a blade file

SpatieMediaLibraryFileUpload::make('images') ->multiple(), Blade File @foreach ($item as $item) <div class="bg-white p-6 rounded-md shadow-md transition-transform transform hover:scale-105"> <img src="{{$item->images}}" alt="Card Image" class="w-full h-32 object-cover mb-4 rounded-md"> <h3 class="text-xl font-semibold mb-2">{{$item->name}}</h3> <p class="text-gray-700">{{$item->name}}</p> <a href="{{url('details', $item->id)}}"> <button class="mt-4 bg-blue-500 text-white px-4 py-2 rounded-md hover:bg-blue-600 transition-colors">Learn More</button> </a> </div> @endforeach Images don't show up in the blade file
2 Replies
antiquarian_capsaicin
antiquarian_capsaicinβ€’5mo ago
Thanks soo much πŸ™ŒπŸ½ Really appreciate it
Want results from more Discord servers?
Add your server
More Posts
How can I save different data in one form to different databases?In the bill form, I want to add the values ​​bill_id, table_id of bill_tables, dish_id and quantity training app, how to show ranks and requirements on user resource, and allow admin to mark completedHello, just my second app building with filament and I love it. Bumped into a bit of a tricky thing.Any example of a package using the filamentphp/plugin-skeleton**What I'm trying to do:** Write a filament package. **What I've done** Used the plugin-skeleton abAccess resource record/model in custom component registered via registerRenderHook***What I am trying to do:*** I want to use custom livewire component (to use form builder) and regiCustom Form Repeater minItems is not working.Hi, I am building a custom invoice software with filament. I have tried to use the repeater **minIteFilament's FileUpload uploads strings of paths and not TemporaryFile in V3``` public function form(Form $form): Form { return $form ->schema([ Display link of child relationshipI created a facility resources, in it's columns, i want to add custom col name "view rooms", when clGlobal widget filter is nullI have followed the docs to create a global widget filter. My dashboard page has: `use HasFiltersCheckboxList not passing dataHello, i have search the docs but i cant seem to be able to selected items from the CheckBoxList. I Custom page with record updateI've added a custom page to my app the page name is 'resources/views/filament/pages/ confirm-quote.b