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.
The provided makefile (colorbox.make.example) has a wrong URL for fetching the actual Colorbox code, the correct one should be (tested and working) the following one, that fetches the latest Github Colorbox JQuery plugin:
core = 7.x
api = 2
libraries[colorbox][download][type] = "file"
libraries[colorbox][download][url] = "https://github.com/jackmoore/colorbox/archive/master.zip"
libraries[colorbox][directory_name] = "colorbox"
libraries[colorbox][destination] = "libraries"
Comments
Comment #1
frjo CreditAttribution: frjo commentedThe url should be for the 1.x branch that will maintain compatibility with older version of jQuery.
https://github.com/jackmoore/colorbox/archive/1.x.zip
I have committed your code from above with this changes now.
Thanks for the report!