This patch creates a new type of lightbox formatter called 'Compact'. The compact formatter shows only the first image of a multiple image field but if you click the image thumbnail you can see all the images by browsing within the lightbox.

CommentFileSizeAuthor
compact.patch3.93 KBJody Lynn
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kirilius’s picture

Can this become part of a release?

waltf’s picture

Could u explain how this works, and where i should find this compact formatter?
Are u talking about Content: Picture Lightbox2: Crop->original Compact because this is not working for me.
Still all images are been shown.

Alex72RM’s picture

It works.

You should check "Group multiple values" and maintain void value into "show ____ value(s)".

Kakulash’s picture

when I set it to Compact it displays nothing.

anyone else have this problem?

stella’s picture

Status: Needs review » Fixed

This seems to work quite well, however it only works for the regular lightbox formatter, and not for the lightshow, or even all the regular lightbox combinations. I've extended the patch to cover these two scenarios and committed it. It will be included in the next official release. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Katrina B’s picture

I've run into a problem with this: If I use the compact slideshow for teasers, so that more than one compact slideshow is visible on the same page (for example, on a page that lists teasers for blog entries), then every slideshow picks up the rest of the photos in the other slideshows on the page.

Any suggestions?

Katrina B’s picture

Version: 6.x-1.9 » 6.x-1.x-dev
Status: Closed (fixed) » Active

Updating issue to reflect the version of LIghtbox2 I am using.

stella’s picture

Status: Active » Fixed

@Katrina B: change your CCK display settings at admin/settings/lightbox2 so the grouping includes the node id. That way it will only group together images from the same node which should solve your problem. If you continue to have problems, please open a new issue - this one is now closed.

Katrina B’s picture

That did the trick! Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.