With Copilot
Acquia Copilot is a conversational AI connected into our product documentation and knowledge base. Ask Copilot about product features, technical details, troubleshooting and how to get started with Acquia products.
Sign in to use Acquia Copilot
There are hundreds of tokens available which can provide data for your templates. The specific tokens will differ from website to website, depending on the modules you have installed, the content types and other content entities you have configured and other factors. However, there are some tokens that are likely to be common to most websites. This guide provides examples of common requirements when building templates and example tokens to use.
There are many tokens available for images. The ones listed below are examples that will be available on a typical Drupal 8 website. When using Image tokens, it's important to remember that the token should be providing a specific piece of data that you will map to a field within a Site Studio element. For example, when mapping an Image to the Image element you will need to map the Image location [node:field_image:entity:path] to the Image upload field within the Site Studio image element.
A common mistake is to try and map the complete Drupal image field [node:field_image] to the Image upload field on Site Studio. This doesn't work because the complete image field includes other data like Alt tag, Title etc.
Here are some example tokens that you might use when mapping Images to Image elements within your templates:
If this content did not answer your questions, try searching or contacting our support team for further assistance.