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.
This release introduces Drupal 10 compatibility. Due to API changes, it requires a minimum Drupal core version of 9.3.x.
There are no functional changes in this release.
Branching from 8.x-1.x. All future enhancements and Drupal 10 compatibility fixes will go into this branch. A full release 2.0.0 is targeted on or before the release of Drupal 10.
Release 8.x-1.9 introduced a change that was only compatible with Drupal 9.3 and higher. This change has been reverted, and compatibility with 8.8 through 9.2 has been restored.
Additional changes:
- Fix issue 3272796: Passing null to parameter #1 ($haystack) of type string to strpos() is deprecated
- Warn against installing unnecessary parts of the DOMPurify archive.
Note, colorbox_load is now restricted to internal Drupal paths only, and will not load external URLs. You can still use colorbox_inline with an iframe to load external content into a colorbox.
Colorbox for Drupal 8 is a image field formatter and nothing more, or less. The extra features like colorbox_load and colorbox_inline can be found in contrib.
OBS! Mobil detection was added to this release of Colorbox and it's on by default, i.e. Colorbox will not be active on small screens (mobile phones) by default. I personally don't think modals belong on small screens and therefor I made this choice.
If you really need/want to reactivate Colorbox on small screens go to "/admin/config/media/colorbox" under "Advanced settings" after updating to this version and turn of mobile detection.
* Followup fix to styles CSS since the Colorbox plugin removed the hover class in favor of CSS hover state some time back.
* Drush command now automatically renames the "colorbox-1.3.18" directory to "colorbox".
* Back-ported the Drush command improvements from Drupal 7 version.
If no major bugs show up this is quite likely the last release for Drupal 6.
This is more or less 7.x-2.x without the new features and with form support intact. The 7.x-1.x will only get minimal maintenance from now on. Recommended branch will later this year be 7.x-2.x, this is where new stuff will happen. Please try out the 7.x-2.x beta releases.