How to Render/Show image on table action view modal?

Hello, I have this image for proof that the customer receives the order, how can I render/show it on the table action view modal??
4 Replies
Chrysippus
ChrysippusOP16mo ago
the image for proof came from customer upload, if it s uploaded inside admin, the image on modal was showing, but if it's uploaded via customer-side which is not filament based, it is not showing....
Chrysippus
ChrysippusOP16mo ago
FileUpload::make('image uploaded')
->getUploadedFileNameForStorageUsing(function (Model $record): string {
$id = $record->id;
$data = OrderReceive::where('order_id', $id)->first();
return 'orderImages/'.$data->image;
})
->columnSpan(2),
FileUpload::make('image uploaded')
->getUploadedFileNameForStorageUsing(function (Model $record): string {
$id = $record->id;
$data = OrderReceive::where('order_id', $id)->first();
return 'orderImages/'.$data->image;
})
->columnSpan(2),
Chrysippus
ChrysippusOP16mo ago
im using filepond on my customer-side idk what to do to show it on table action view modal nvm, I solved it.
Firebird
Firebird13mo ago
how did you solve it?
Want results from more Discord servers?
Add your server