-
Styling a gallery
I am wondering whether it is possible to place the images in a gallery/overview in between[*]
I have been fiddling around in catalog.full but without luck so far.
I can only place li around the whole value, not around the individual images.
The reason i am asking is because i want to add a script like this: http://monc.se/kitchen/80/lightweigh...ith-thumbnails
Thanks!
-
Re: Styling a gallery
Yes - that should be relatively simply. Something like this should get you started:
Code:
<ul id="gallery">
<?php foreach( $entry['data']['imageField']['meta'] as $array => $fileData ): ?>
[*][img]<?php echo $fileData['src']; ?>[/img]" />
<?php endforeach; ?>[/list]
You should only need to change 'imageField' in the second line so that it matches the name of your image field from catalog.