I'm building a template for a newsletter.

I'm able to reference from the template to :

print render($build['field_blog_image'])

but how to get the plain reference to the raw file of this field so I can generate myself the html i wanted...

Comments

andyanderso’s picture

Did you ever figure this out? I am trying to do the same thing.

andyanderso’s picture

AHA!

print $build['field_overall_danger_rose']['#items'][0]['img_detailed_rose']

got me the raw value.

andyanderso’s picture

There is more discussion about this at this thread.