I am using contemplate to edit the RSS output

The variables provided tell me the output of $node->field_image_2_0[0]['view'] should be:

Only local images are allowed.

however it outputs differently in the actual rss feed:

So why has it changed?

Comments

netentropy’s picture

This is what contemplate says will be the code:

<div class="field field-type-filefield field-field-image-1-0">
  <h3 class="field-label">Primary Product Image</h3>
  <div class="field-items">
      <div class="field-item"><?php print $node->field_image_1_0[0]['view'] ?></div>
  </div>

here is what is outputted by the feed:

<div class="filefield-file clear-block"><div class="filefield-icon field-icon-image-jpeg"><img class="field-icon-image-jpeg" alt="image/jpeg icon" src="http://www.nejex.com/modules/filefield/icons/protocons/16x16/mimetypes/image-x-generic.png" /></div><a href="http://www.nejex.com/files/jewelry/DSC01056.JPG" type="image/jpeg; length=289889">DSC01056.JPG</a></div>

This what I meant to include not the actual file link