warpig
Spatie media library responsive images
Could somebody please walk me through the process of creating responsive images using spatie media library plugin for filament on v3?
all of a sudden the live version of my blog decided to stop showing images on mobile devices so now i have to generate images with different sizes. this turned out to be a faulty css (my mistake)
Even though i refreshed the browser a few times on my phone nothing worked. Desktop version is doing fine.
So anyway, i decided to try the spatie media library plugin but already it seems impossible to comprehend off of just the documentation. 😎
https://filamentphp.com/plugins/filament-spatie-media-library
11 replies
500 server error after updating user model
i created a user on my production server to let the admin sign in, then i implemented this code on my User model:
i had to change the class to abstract because i kept seeing this message from laravel extra intelisense:
so after pushing the changes to the server now there is a 500 server error response 🙂
9 replies
installing version 3
hi all, i created a new laravel application on windows 10 via: and then i tried to install filament but that didn't work. i got an error about the "intl" extension on php.ini. however, I was able to install it without a version number.
before finding that solution i tried uncommenting these:
and adding this extension: extension=php_intl.dll
but at the moment it's not working. i was able to install and even followed a portion of the guide, it got me to create a new patient and owner. but after visiting "admin/patients" i got this on the browser:
the error from "composer update":
some warnings before composer update:
i thought i had enabled those extensions? what can i do? i know this has been answered before but uncommenting intl on ini doesn't seem to be working and i restarted nginx prior to running composer update. thanks!
7 replies
displaying responsive images using SpatieMediaLibrary plugin for filament
i installed this package a few days ago and updated my Post model accordingly, everything went okay, ran the migrations to no problem, etc but i don't understand how to utilize the responsive images that get created.
from the form i can preview the image and the responsive images all of them are generated on my storage folder, but once i get to the front-end those responsive images arent attached on the page.
output on the html:
Post.php
this is what i have on the form:
this is what i have on the table function and i can't see the thumbnail there,
im using version : * 10.11.3 of the plugin and im currently at v2.17.52 of filament.
11 replies
not being able to use SpatieTagsColumn due to a non-existing method
Can't view the tags list on admin/tags it throws the following error:
And im aware there are a few channels dedicated to plugins, doesn't seem to be one for spatie-tags, that's why im posting here.
So i installed the package
My Tag model uses "HasTags"
The class is imported on TagResource
On the table function:
And using SpatieTagsInput on the form to display the form
13 replies
rendering html iframe with markdown helper
i want to render the below html on my blade but the inlineMarkdown is not letting me.
this is how im rendering my blog post is not letting me
however i can use the tag <font> which is an old html4 tag, like this: and gets rendered correctly and the link works. i was using a spatie-markdown package but it doesn't include a preview and the links work different.
if im using filament to create the post how could i get that iframe to render correctly?
21 replies
embedding videos from youtube
is it possible yet? i've looked at the plug in section but doesn't contain anything neither does the tricks section. im looking to embed youtube videos and have them display on the page.
so far the only method that i know of is to use this syntax below, but it doesn't have the play button and goes to youtube i want to view the video on the page.
thanks.
15 replies