Results 1 to 2 of 2

Thread: Styling a gallery

  1. #1
    User
    Join Date
    08-04-09.
    Posts
    230

    Default 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!

  2. #2
    Experienced user
    Join Date
    06-10-09.
    Location
    Atlanta, Georgia
    Posts
    611

    Default 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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •