Attach an image gallery carousel to nodes I want to attach an image gallery to a node, showing the images in a carousel view so that only a few thumbnails are shown and clicking on them opens a ColorBox overlay. 

I have a gallery content type that contains all images in a field, and in an article the gallery is referenced using an entity reference field. 

I found the Gallery Formatter module which does nearly want I want. But I don't want to display the large image on the page, only the carousel showing thumbnails. To get the full size image one should click on one of the thumbnails.

So I need a field formatter that can display the contents of an image field as a carousel. Any ideas on how I can achieve this?
Check out Adding a jQuery Image Carousel to your Node View.

Though the above article is for Drupal 6, you can follow this like below:


As the gallery is referenced in the "Article" content type, you can modify the template file for that content type, and fetch the gallery images.
After that, you can display that in carousel.


The other way is using a theme preprocess function.

function YOURTHEME_preprocess_node(&amp;$variables) {
  // Your code.
}