Featured image tags

Featured image item represents data connected with post featured images:

  • {{id}} - featured image ID
  • {{url}} - featured image URL
  • {{urlDIMENSION_NAME}} - URL of the resized version (specified by DIMENSION_NAME variable e.g. urlLarge)
  • {{alt}} - featured image alternative text
  • {{caption}} - featured image caption text
  • {{credits}} - featured image credits text
  • {{height}} - featured image height in pixels
  • {{width}} - featured image width in pixels
  • {{srcset}} - featured image srcset attribute value
  • {{sizes}} - featured image sizes attribute value

Create your first website with Publii

Join thousands of creators who chose independence. Create content locally and publish lightning-fast, secure websites on your own terms.

Download Publii

Free and open source. Windows, macOS and Linux.

Read the getting started guide