I have a cck node type called "Album" with a multiple upload imagefield.

I was wondering if it is possible to count the number of images in each album for use in views.

CCK 5.1.10
Imagefield 5.2.1
Views 5.1.6
public download method
imagefield multiple upload limited to 35

Comments

WorldFallz’s picture

You might be able to do it right in the view with http://drupal.org/project/views_calc or http://drupal.org/project/views_customfield. if not, you can add it to the node (for use in views) with http://drupal.org/project/computed_field.

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

droople’s picture

Views_custom field looks like the one to use

But I have no idea what sort of php code to use

Thank you