Closed leo-unglaub closed 1 year ago
Thanks. Will dig into it this weekend.
I'm thinking this should throw an exception since you are trying to use an svg image with srcsets.
But svg
is a valid format in srcset.
It doesn't make sense to use srcset with svg. Srcset loads different physically sized images. Svg isn't saved at different sizes, there is no need since it is vector based. So you'd load one svg and control its size with css.
Hey, i just noticed an exception in your extension. If an
.svg
file is used then the code does not know the size and fails with adivision by zero
. The following line invendor/awcodes/filament-curator/src/View/Components/Glider.php:118
is the problem:As you can see, if
$this->media->with
is unknown, it fails.Thanks and greetings