Submitted by
Admin
on
Перш за все, встановіть views, бібліотеки, colorbox та плагін colorbox.
$ drush en views libraries colorbox -y
Завантажте плагін colorbox та розпакуйте його в папку libraries.
https://github.com/jackmoore/colorbox/archive/1.x.zip

Steps:
- Create views page/block.
- Show: Fields.
- Add field Image (for thumb)
- Exclude from display
- Formatter “colorbox”
- Content image style: “Thumbnail“
- Content image style for first image : no special style
- Colorbox image style: “Large”.
- Gallery (image grouping) : Per post gallery
- Show Multiple field settings:
- Display all values in the same row
- Simple separator: leave blank
- Display 1 value
- Add field Image (for colorbox)
- Exclude from display
- Formatter “colorbox”
- Content image style: Hide (dont display)
- Content image style for first image : No special style
- Colorbox image style: Large
- Gallery (image grouping) : Per post gallery
- Show Multiple field settings:
- Display all values in the same row
- Simple separator: leave blank
- All values starting from 1.
- Add field “Colorbox: Trigger Colorbox“
- Trigger field: field_images. (Select your images field name)
- Popup: your images field token. Ex: [field_images_1] if your field is field_images.

Ось і все. Тепер ви можете перевірити сторінку або блок. Буде лише перше зображення з кількох полів, а якщо натиснути на нього, то в кольоровому полі з’являться всі зображення з цих полів.

ОНОВЛЕННЯ: Я був дуже радий побачити цей посібник на drupal.org. https://www.drupal.org/node/1419098#comment-8883415