Closed (fixed)
Project:
ImageField
Version:
6.x-3.2
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2010 at 18:31 UTC
Updated:
28 Apr 2010 at 20:24 UTC
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
Comment #1
quicksketchYou 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.
Comment #2
quicksketch