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

JieXiannn’s picture

I would like to request this feature as an improvement of html+tokens please :)

Deciphered’s picture

Status: Active » Closed (duplicate)

Unfortunately 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.