Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi wonderful drupal developers!
I have a multi-valued image field and I'd like to use its delta value with the Custom Formatters module.
However, I don't see the option for the delta value available in the list.
Could you please advice me on how to do this?
All I want to do is something really simple
<div id="cf">
<a href="[node:url]"><img class="bottom" style="border:0;"src="[node:field_image:0]" alt="[node:title]" ></a>
<a href="[node:url]"><img class="top" style="border:0;" src="[node:field_image:1]" alt="[node:title]" ></a>
</div>
Thank you very much!
JieXiannn
Comments
Comment #1
JieXiannn CreditAttribution: JieXiannn commentedI would like to request this feature as an improvement of html+tokens please :)
Comment #2
Deciphered CreditAttribution: Deciphered commentedUnfortunately this isn't a problem with Custom Formatters, but rather the Token system in Drupal 7, without wanting to dredge up the past, I did report it years back and there was a lot of discussion, but nothing ever came of it.
I do still want to come up with a workaround for this. Marking as a duplicate of #1511830: Fix Token engine.