Hi,

I added an imagefield with unlimited number of images to a content. I can place any number of images, which is great.

I just want to display a number for each image starting from 1 automatically. Numbers can be under each image or overlaid on an image.

I know I can make a View with an argument to display the images of a node by embedding the View into the content area. That way, I can use row numbers with the help of Views Custom View module. But is there a simpler method around?

Thanks...

Comments

quicksketch’s picture

You can simply add the theming in your node.tpl.php file in your theme. All of the images are stored in $field_images[0]['view'], $field_images[1]['view'], etc. Assuming the name of your field is "images". I would suggest installing the devel and theme developer tool (part of the devel module package) modules and inspecting the variables available in your node.tpl.php files.

quicksketch’s picture

Status: Active » Closed (fixed)