float images next to each other

Status: 
Solved
Question: 

can't get the images in the gallery to float next to each other. using drupal 6.13 with panels 3 and the contemplate module. is their an updated tutorial for section 5.1.3 with panels 3. i've gotten rather lost at this part.

Responses

1. Hi, What code do you use for

Hi,

What code do you use for the contemplate? Are you sure you selected view type node in the view, so that it displays the contemplate?

My contemplate code is: <?php foreach ((array)$node->field_pictures as $item) { ?>
<?php print $item['view'] ?>
<?php } ?>

If this does not work, you might need to add floating divs around the image fields.

2. float

thanks for the quick response!
i've changed the body and teaser in the template to-

"field-item" style="float: left"><?php print $item['view'] ?>

works for the body, but not the teaser. the view is displaying items of type node.

3. What's the exact code...

What you have doesn't work for me? Here is what I have...

?php
foreach ((array)$node->field_vid as $item) { ?>
"field-item" style="float: left"><?php print $item['view'] ?>
<?php } ?>

4. Same issue...

Hi dorien,

I also got the same issue. I enter the above code u indicate in body template..

But still i got the list of images(from top to bottom)..

Where would i add the image fields option as floating divs...

Please guide me on this is issue as soon as possible...

Thanks / Regards
Sarav...

5. fixed

found a typo in the teaser template! images are now side by side.

6. Video Gallery

I'm actually have a problem with the Video Gallery aligning the video next to each other....using Colorbox or Lightbox2 displays. It was working initially with Lightbox2 but it suddenly stopped...

Any ideas?