1

I follow these steps to achieve the gallery thumbnail in footer https://www.drupal.org/node/1497058 and now my thumbnails shows like below enter image description here

but only thing left is when i click thumbnail image its open the next page and show the big image but i want when i click the thumbnail the big page open on colorbox when i click on thumbnail its shown like below

enter image description here

1 Answer 1

2

Install and enable colorbox module. And add place colorbox library in sites/all/library and rename folder to colorbox

  1. Goto to admin/structure/views

  2. Click edit on your views, here my view name is "Colorbox"

enter image description here

  1. Click on your image field, eg., content:Image

enter image description here

  1. select Formatter as colorbox and click "apply"

enter image description here

  1. Save the view and clear the cache.

Hope it works

13
  • where you find the above screen when i click o n views under structure there is no such field
    – user67248
    Oct 4, 2016 at 7:23
  • You need to install and configure the colorbox module. Oct 4, 2016 at 7:30
  • Answer updated. Kindly check it.
    – Vamsi
    Oct 4, 2016 at 7:36
  • @vamsi: i followed your step, now when i click the thumbnail the big image open there but not in colobox there is no cross button and all
    – user67248
    Oct 4, 2016 at 8:50
  • <a href="localhost/nic/sites/default/files/18.jpg" title="Photo" class="colorbox" data-colorbox-gallery="gallery-node-8-g0Y1aS1dNcE"><img typeof="foaf:Image" src="localhost/nic/sites/default/files/18.jpg" alt="" title="" width="800" height="533"></a>
    – user67248
    Oct 4, 2016 at 8:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy