0

How can I pull back the {description} information from an uploaded image. Bearing in mind I'm pulling back an image manipulation of the original?

   <img src="{recipe-thumbnail:small}" alt="{description}"/>
0

You need to use a tag pair for your image:

{recipe-thumbnail}
<img src="{url:small}" alt="{description}"/>
{/recipe-thumbnail}

You have a number of variables that can be used inside the tag such as:

{title} {description} {location} {credit}

See for the full list https://ellislab.com/expressionengine/user-guide/add-ons/channel/custom_fields.html#variable-pair-usage

1
  • You're right, thank you Bluedreamer completely forgot about it needing to be inside a tag pair.
    – MBM
    Aug 14 '15 at 19:58

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.