Zurb 5 Block Grid node.tpl.php imagefield

Public

Zurb Foundation Block Grid imagefield in node.tpl

</> CopyGet raw version
php
  1. <ul class="large-block-grid-6 small-block-grid-3 clear clearing-thumbs"data-clearing>
  2. <?php foreach ($image as $key=>$value):?>
  3. <li> <?php
  4. $output =field_view_value('node', $node, 'field_foo_bild', $image[$key], array(
  5. 'type' => 'image',
  6. 'settings' => array(
  7. 'image_style' => '117x90', //place your image style here
  8. 'image_link' => 'file',
  9. ),
  10. ));
  11. print render($output); ?>
  12. </li>
  13. <?php endforeach; ?>
  14. </ul>