You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the image field and column in a backpack crud.
What I expected to happen
I expected absolute image URLs to be supported and displayed as uploaded images.
What happened
Image URLs are not displayed in the resolved image with the specified disk. Currently, the column or field detects if it's a base64 image or a relative image that is uploaded.
What I've already tried to fix it
I added a condition to check if it is an absolute URL.
Bug report
What I did
I used the image field and column in a backpack crud.
What I expected to happen
I expected absolute image URLs to be supported and displayed as uploaded images.
What happened
Image URLs are not displayed in the resolved image with the specified disk. Currently, the column or field detects if it's a base64 image or a relative image that is uploaded.
What I've already tried to fix it
I added a condition to check if it is an absolute URL.
vendor/backpack/crud/src/resources/views/crud/columns/image.blade.php
vendor/backpack/pro/resources/views/fields/image.blade.php
Is it a bug in the latest version of Backpack?
Yes, this bug is present in the latest version of Laravel Backpack.
Backpack, Laravel, PHP, DB version
When I run
php artisan backpack:version
the output is:Additional Note
I cannot create a PR because the image field is present in the Backpack Pro package.
The text was updated successfully, but these errors were encountered: