We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 18d445b + 5f531e0 commit f7a88f8Copy full SHA for f7a88f8
resources/views/columns/stacked-image-column.blade.php
@@ -6,6 +6,13 @@
6
$overlap = $getOverlap() ?? 1;
7
$imageCount = 0;
8
9
+ $defaultImageUrl = $getDefaultImageUrl();
10
+
11
+ if ((! count($images)) && filled($defaultImageUrl)) {
12
+ $imagesWithPath = [null];
13
+ }
14
15
16
$ring = match ($getRing()) {
17
0 => 'ring-0',
18
1 => 'ring-1',
@@ -50,7 +57,7 @@
50
57
@endphp
51
58
52
59
<img
53
- src="{{ $path }}"
60
+ src="{{ filled($image) ? $getPath($image) : $defaultImageUrl }}"
54
61
style="
55
62
{!! $height !== null ? "height: {$height};" : null !!}
56
63
{!! $width !== null ? "width: {$width};" : null !!}
0 commit comments