0

I am using Node Gallery Module, just want to know if there is a way we can open the images in Lightbox or Colorbox? I know this can be done in Media Gallery module but can not find any way in Node Gallery.

1 Answer 1

0

It can be done quite easily. I'm assuming that you are using Drupal 7 and using the Node Gallery as well as the Node Gallery API.

  • Install Colorbox for Drupal (including the library - follow the instructions on that page).
  • Now you have to some editing of the site structure (exact paths may vary but the provided paths will work if you are using the default Node Gallery installation settings):
  • go to admin/structure/file-types/manage/image/file-display (or browse: Admin->Structure->FileTypes->Image [Manage File Display]). Select Node Gallery File Thumbnail and put a check before Colorbox. Scroll down to Display Settings and under Content Image Style select node_gallery_thumbnail and select Per page gallery in the Gallery (image grouping) dropdown. Then Save Configuration.

Slightly complicated but not horribly so.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.