Hi,
i need a little help. I think it's an easy problem, but i can't figure it out.
The settings:
A content type gets up to five images (field_galleryimages_fid)
now i'm trying to create a little image gallery.
The first image is shown as image, the rest is avaible as gallery-link with click von the first image.
with var_dump ($fields['field_galleryimages_fid']->content); i get the first image/element
but i don't know how to i get the rest of the element? $fields['field_galleryimages_fid'] should be an array. So i tried all combination from $fields['field_galleryimages_fid'][0] to $fields['field_galleryimages_fid']->content[0];
could someone please kick me to the right trick?
thanks in advanced
Stefan
Comments
Comment #1
h-man24 commentedhmm, damn, nobody can help?
i realized i can get the whole array content by setting the Group multiple values. Now i get the five elements. But i just can't figured out how to get each element, f.e. in a loop.
i would appreciate if someone could tell me the trick.
Comment #2
dawehnerThats not easy. CCK builds the output together with theme_content_view_multiple_field
Comment #3
esmerel commentedsuggestion given, no further questions made.