Drupal 7 Theming and the image Path

In Drupal 7 there is a filefield in core now, there is also something like imagecache in Drupal 6 called image styles.

When it comes to theming you will soon find out that the image data stored in the node array is completely different than before. For example there is no filepath available.

Display image fields in templates

First and recommended solution would be to display the field as it is with the render() function:

Subscribe to RSS - images

Powered by Drupal7