Twitter Cards in the type Gallery expects multiple metatags for the 4 pictures that build the card (twitter:image0, twitter:image1 etc.).

My image field building a gallery accepts multiple files. Metatag's token [node:field_image] lists comma-separated all files associated with this field. Tokens [node:field-image:0], [node:field-image:1] etc. do not work.

Is there a way to list 4 files (first four ones or selected four) from the image field with a token?

Comments

DamienMcKenna’s picture

Status: Active » Closed (duplicate)
Issue tags: -twitter cards, -Gallery, -token

This is basically the same issue as #2338211: How to only use one item of a multi-item field?, so lets focus on that discussion.