Image is not showing on filament admin panel
I saved full URL of image in database including domain url because I import image url from another panel of CMS, now its not showing in filament admin panel, because its not in storage folder.
FilamentPHP admin panel can display these external images ?
9 Replies
Laravel - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
Showing where? You don’t provide any code or further explanation so it’s impossible to help.
This is the screenshot of my database where you can see images are imported not uploaded now I want to show this images in filament admin panel.
I am able to show images in table but not in forms
this code of image column in table
but unable to show in forms
How to show this image URL's in filament admin panel's form image fields.
I am able to show images in table but not in formsWhy aren't you using in
ImageColumn
? I think that should work with URLs too.
but unable to show in formsI don't think FileUpload will work with mixed content (URLs and local storage). You should decide on one. Maybe it's just a CORS issue and it might show them (check your DevTools console).
I am using FileUpload because i want to upload image again direc to other server and will get url and stored in db tables and then I waill show images in forms
Yeah, not sure whether both at the same time will work. Did you check for CORS issues?
yes its not about CORS