© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
6 replies
thedangler

Show image from url in the edit resource page form

In my form I have all the information I need to change but I want to show the image which the information pertains to. The image is from an outside url. I was able to show the image in the table. Wondering how I can show NOT edit the image from an url in the form. Its so the admins have context to what image they are adding information too.
Solution
Placeholder::make('my_image')->content(fn($record) => $record ? new HtmlString('<img src=" ' . $record->my_outside_image . '" />') : '')
Placeholder::make('my_image')->content(fn($record) => $record ? new HtmlString('<img src=" ' . $record->my_outside_image . '" />') : '')
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Image not show in view and edit form
FilamentFFilament / ❓┊help
2y ago
custom page form from resource
FilamentFFilament / ❓┊help
11mo ago
Custom Action in the Resource Edit Page
FilamentFFilament / ❓┊help
2y ago
Edit resource page as the page index
FilamentFFilament / ❓┊help
3y ago