- ivnish Kazakhstan
I'm closing this support request as outdated. Please reopen if needed
Once functioning colorbox links loading media entity pages now show "This image failed to load." messages. (8.x-1.8 / 9.3.5)
I saw the change noted on another issue thread that the "colorbox" class would now be used exclusively for images, and the manually created links we were using previously included both this "colorbox" class and the "colorbox-load" class. As noted on another issue page π Incorrect colorbox class on thumbnail with colorbox RTBC , this combination of classes "which was always incorrect but happened to work, is now broken". The solution noted there was to simply remove the "colorbox" class leaving only the colorbox-load class, but this class alone doesn't trigger the launch of a colorbox loading of our local media page within it, it simply links to that media page like any other href link would.
It appears from reading through these recent issues that we should be able to load local pages inside a colorbox (external pages, currently not so much), but we are clearly missing some step to get this working correctly. We have tried various class options and various additional modules in combination without success. If we could see an example of a correctly formatted colorbox link loading a local page within it, that would be very helpful. There could be some other issue at play and knowing we have our links correctly formatted can at least rule syntax out as a possible culprit.
Here is what was previously (and incorrectly) working for us prior to the recent update, we just need to know how to keep the original behavior working in this post-update world:
<a href="/media/111?width=90%&height=90%" class="colorbox colorbox-load default media-colorbox cboxElement" title="Click to view image information and metadata">
<img src="/sites/default/files/01010101.jpg" width="200" height="130" alt="some alt text" typeof="Image" class="media-library">
</a>
Thank you!
Closed: outdated
1.0
Documentation
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I'm closing this support request as outdated. Please reopen if needed