I am using an image type inside a structure in my blueprint like below. Everything works fine when I am in the panel, but I am not sure how to access the image or image url.
Cars:
label: Cars
type: structure
style: table
entry: >
{{name}}
{{details}}
{{picture}}
fields:
name:
label: Name
type: text
details:
label: Details
type: textarea
picture:
label: Vehicle Image
type: image
When I call the below code it only gives me the image name. Iβve tried using url() but it only gives http://domain.com/image.jpg and not the actual url to the image.
<?php echo $car->picture()->image() ?>