Fix for Imagefield imagecache manual display

  1. <?php
  2.     $i = 0;
  3.     $cnt = count($node->field_wip_images);
  4.     if (!$node->teaser) {
  5.       while ($i < $cnt) {
  6.         print theme('imagecache', 'preview', $node->field_wip_images[$i]['view'];
  7.         $i++;
  8.       }
  9.     }
  10.  ?>

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.