1

I have a content type that has an image field (among other fields).
When creating a node, users can upload up to five files.
What i'm trying to do is to display how many images are uploaded in each node when listing node teasers using views ?

Thanks

0

Install the module: Field Count Formatter

A very simple module to provide a formatter for all field types. The output is simply a count of the number of items in that field. This is most useful on fields which have multiple values as it will show how many values are in this field.

Then in the teaser display for your content type, add the image field and set the formatter to count.

| improve this answer | |
  • Ok, thanks i didn't know that module. Do you know if there's a way to achieve this without an additional module ? – FlashSP Dec 1 '14 at 22:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.