Hello, and thank you for the fantastic module.

I'm unable to have clean URLs enabled on the site I'm working on. I've set Colorbox to display the medium version of the image on the node itself, and then display the large version in the colorbox itself. The images on the node itself fail to display (displaying only the alt text), but when colorbox is activated through clicking, the image does display.

It seems to have something to do with my site not having clean URLs enabled. On the node page itself (click here to visit it) the value for the source attribute for the img element does not have the requisite ?q=:

<img typeof="foaf:Image" src="https://www.iu.edu/%7Eiaunrc/sites/default/files/styles/medium/public/highlights/Lotus%20pictures%20010.JPG" alt="1" title="1">

However, the anchor element href attribute does have the ?q= in it, which explains why when clicked it works.

<a href="https://www.iu.edu/%7Eiaunrc/?q=sites/default/files/styles/large/public/highlights/Lotus%20pictures%20010.JPG" title="1" class="colorbox imagefield imagefield-imagelink init-colorbox-processed-processed cboxElement" rel="gallery-52">

Is colorbox generating the "node image style" on the node itself? If so, is it accounting for whether or not clean-URLs is enabled?

I'm a Drupal newbie so I apologize if this issue has been raised, or if this is not an issue with the colorbox module.

Thank you!

Comments

vqmalic’s picture

Status: Active » Fixed

Sorry, I did more research and I realized this is an issue with the image module. Thank you.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

straszko’s picture

Hello,
I think i have similar problem.. With Clean Urls enabled i can't see uploaded images (ex. thumbnails) in my article...
Could you please give me some advises how to resolve this problem?

Thanks.