Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
As I am using Image module to create the gallery, and planning to use Colorbox.
But I don't know how to config it.
My targer is that
in View of Image Gallery, when I click the thumbnail and it would prompt the colorbox with the original size jpg.
I cannot get the drupal link of the jpg.
Do you all have any suggestion about the issue?
Thanks a lot~~~~
Comments
Comment #1
frjo CreditAttribution: frjo commentedI have never used the image module myself. You need in one way or another add the class "colorbox" to the links for the Colorbox function to be activated.
May be there is a theme function that will allow you to do this, another option is to do it with Javascript. The current Image module integration in Colorbox is mostly JavaScript.
I would recommend you to test File field/Image field/Image cache module instead of the Image module. These are a more modern solution I believe and they are built in to Drupal 7.
Comment #2
frjo CreditAttribution: frjo commented