Skip to content
Discussion options

You must be logged in to vote

Since asset fieldtypes get augmented into asset objects, you will have a bunch of different variables available in the loops.

The paths - which are what you're seeing in the dump - can be retrieved using the path variable.

{{ homeimage_image }}
  {{ path }}
{{ /homeimage_image }}

See https://statamic.dev/fieldtypes/assets#templating

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
4 replies
@simplyniceweb
Comment options

@duncanmcclean
Comment options

@simplyniceweb
Comment options

@duncanmcclean
Comment options

Comment options

You must be logged in to vote
3 replies
@simplyniceweb
Comment options

@duncanmcclean
Comment options

@simplyniceweb
Comment options

Answer selected by simplyniceweb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants