I have node with field image set to unlimited, so multiple images are attached in one field of a node.
I use Views to present only one image with shadowbox formatter, so that only one image is displayed and in shadowbox there is a pager for all images of the field.

"gallery field node" option is enabled to display all images of the field.

In "Multiple field settings" of view I use: display "all" values with default comma "," separator, so only 1 image is displayed but with many "," signs for every not shown (invisible) image.

If I use no separator (empty) then there are many spaces, what makes too long my block.

Please see screenshot.

I tried also to use display "1" value, but then only 1 image is shown in shadowbox.

CommentFileSizeAuthor
20120923_shadowbox_multiple_images.png34.52 KBclashar

Comments

clashar’s picture

"," separators are shown in Views, but on the page it's displayed just with big spaces.
When I look to source code there are div classes for every image/photo.

inst’s picture

Hi,
I got the same problem.- I use the compact mode of shadowbox and get the first image plus symbols for external links, by using the external link module on my page.

Have you found a way to avoid this?

thanks.
best,
frank

manfer’s picture

Status: Active » Fixed

I have added a display none CSS on second and next images on compact mode that should solve this kind of issues.

Status: Fixed » Closed (fixed)

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

  • Commit 6649ca9 on 7.x-4.x, 8.x-1.x:
    Issue #1792582 by manfer: fixed compact mode issue