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 rebuilding my site under Drupal 7, using the newest Colorbox. I have ImageAPI 2 installed and the Colorbox libraries set up. When I click MOST images, a colorbox window opens, but it's full-screen and filled with random text characters (see attached screen shot). It's quite random. Some images do it and later on, some images work fine. I am an intermediate user and I am at a loss.
Running a built-in Colorbox theme (tried plain as well).
Thank you for your help!
Comment | File | Size | Author |
---|---|---|---|
#3 | photo error.JPG | 298.83 KB | escottd |
colorbox-error-screen.jpg | 499.23 KB | Ragmop |
Comments
Comment #1
dolly nyc CreditAttribution: dolly nyc commentedare you sure your uploaded image files have the correct file extensions such as .jpg, .gif etc?
Comment #2
martinbertinat CreditAttribution: martinbertinat commentedThis problem happens to me. I figured out that it is caused by the new token system in image presets. If you choose to open the colorbox without a preset it would work fine.
Comment #3
escottd CreditAttribution: escottd commentedI am having the same issue as Ragmop. Has anyone found a fix for this? All of my files uploaded are jpg. Some work great, others give me random code in a larger window. I am running colorbox v7.x-2.4 in Drupel 7. Libraries v7.x-2.1, colorbox plugins v1.x plugins.
Comment #4
dolly nyc CreditAttribution: dolly nyc commentedIf some files work but others don't, it sounds like a file naming problem.
-Make sure your filenames end in .jpg
-Make sure there is no other . (dot) or any other punctuation character or space in the file name
-Use only letters and numbers in the filename
If all your file names are proper and it turns out that's not the problem, then post the code for an example that works and one that doesn't work, or post the link to the webpage with the problem
Comment #5
Neslee Canil Pinto