When you double-click an asset you can set the Image Caption:

How do you structure the query to output this Image Caption "field?"

1 Answer 1


You should give a try:

{{ craft.assets.filename('refresh1.png').one().imageCaption }}

Where imageCaption is the handle of your Image Caption field (imageCaption is an example, you should check this value).

More informations about how to fetch assets: https://docs.craftcms.com/v3/dev/element-queries/asset-queries.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.