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!

CommentFileSizeAuthor
#3 photo error.JPG298.83 KBescottd
colorbox-error-screen.jpg499.23 KBRagmop
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dolly nyc’s picture

are you sure your uploaded image files have the correct file extensions such as .jpg, .gif etc?

martinbertinat’s picture

This 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.

escottd’s picture

FileSize
298.83 KB

I 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.

dolly nyc’s picture

If 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

Neslee Canil Pinto’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)