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.
I'm trying to migrate from Thickbox module to Colorbox.
Thickbox image is closed when user clicks on it. Colorbox is closed only when clicking on Close button or outside image (on overlay).
Is there any way to setup Colorbox to be closed when clicking on image?
Comments
Comment #1
frjo CreditAttribution: frjo commentedThe Colorbox plugin doesn't have this feature unfortunately.
You can see one solution here:
http://groups.google.com/group/colorbox/browse_thread/thread/ef9916b3afe...
You could ask the Colorbox plugin author to add this feature, plugin homepage http://colorpowered.com/colorbox/.
Comment #2
f1mishutka CreditAttribution: f1mishutka commentedThank you for reply! I'll send a feature request to Colorbox authors.
Comment #3
frjo CreditAttribution: frjo commentedComment #4
cfusch CreditAttribution: cfusch commented@frjo
I know this is an old post, but has there been any changes to the colorbox module and/or the plugin that would provide for closing colorbox by clicking on the image?
Carl