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 have been using Drupal for years, I recently started a new site. Iv installed everything as usual, but using all the new updated modules. The issue I am having is, Colorbox infinitely loads, but never renders the image. Just the spinning loading icon. I have the latest modules, and latest software installed. I am using CKEditor, with IMCE. I just can't seem to get colorbox to load the final image.
You can view the issue at :
Comment | File | Size | Author |
---|---|---|---|
#2 | colorbox.PNG | 15.71 KB | VA7WPN |
Comments
Comment #1
frjo CreditAttribution: frjo commentedThe class attribute "colorbox" need to be set on the link tag and not the image tag.
Comment #2
VA7WPN CreditAttribution: VA7WPN commentedI do add it in IMCE via the advanced tab, as shown below.
Comment #3
VA7WPN CreditAttribution: VA7WPN commentedI don't understand why It would be adding the class to the image, and not the link. Is there a pice of code that I am missing, or a process that has changed to allow me to add the class to the link?
Thank you.
Comment #4
frjo CreditAttribution: frjo commentedI never use wysiwyg editors myself so have no experience with them. I also never add images manually inline in the text. So I have no idea how to make the class on the link instead of the image tag with the editor/IMCE.
I always opt for adding images in a dedicated image field and then use the Colorbox formatter on that field display. That is the main feature of the Colorbox module.