displaying responsive images spatiemedialibrary #3348
Unanswered
eduardonwa
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a collection of pictures for when I upload any image on the website named "thumbnails", and I want to generate and display the outcome of this on my frontend. On my model i registered a conversion by the name of "preview" which i pass on the controller.
Post.php
PostController
When i look at the inspector tab, it gives me the below output as html;
It generates all of the images needed, as i think it returns everything from the collection but it is not displaying images, just the strings.
On my view/blade file "home.blade.php", this is how im attempting to recover the images and the collection;
I don't receive images instead just the html (picture below) i would like to display the images from the collection.
SpatieMediaLibrary version : * 10.11.3 | Filament version: v2.17.52
Beta Was this translation helpful? Give feedback.
All reactions