I have this issue:
If I use relation with model Fotos in Model Order - I can't output image from relation model. (I.e. I tried using fotos.image in field text, field upload but image not indicated). I can't use Backpack Pro - but only base fields.
My Model Order:
public function fotos()
{
return $this->HasMany(Foto::class, 'orderid')->select('image');
}
Crud:
$this->crud->addField([
'name' => 'fotos.image',
'label' => 'Image',
'type' => 'upload',
])
I have this string in output:
[{"image":"\/upload\/userfiles\/orders_images\/2025\/10\/19_457387090.png"}]
How I can receive only link to image? Thank you!