Count the number of images in an unlimited imagefield

RobW - November 9, 2009 - 19:24
Project:ImageField
Version:6.x-3.2
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Is there a way to count the number of images in an unlimited imagefield? I'd like to get that count, assign it to a variable available to views templates, and then use it to apply a custom class depending on what that count may be.

Any help getting the count would be appreciated, thanks!

 
 

Drupal is a registered trademark of Dries Buytaert.