diff --git a/composer.json b/composer.json
index 919382d..b98b2e8 100644
--- a/composer.json
+++ b/composer.json
@@ -14,6 +14,7 @@
"php": "^8.2",
"blade-ui-kit/blade-icons": "^1.5",
"codedor/filament-translatable-tabs": "^0.1",
+ "codedor/filament-resource-picker": "dev-master as 0.1",
"filament/filament": "^3.0",
"illuminate/contracts": "^10.0",
"livewire/livewire": "^3.0",
diff --git a/resources/views/components/picture.blade.php b/resources/views/components/picture.blade.php
index 5b30e87..99ff5b5 100644
--- a/resources/views/components/picture.blade.php
+++ b/resources/views/components/picture.blade.php
@@ -6,7 +6,7 @@
:class="$class"
:alt="$alt"
/>
-@elseif (! $formats && ! $formats)
+@elseif ($format && ! $formats)
$lazyload,
])
- src="{{ $image->getFormatOrOriginal('thumbnail') }}"
+ src="{{ $image->getFormatOrOriginal($format) }}"
>
@elseif ($image)