I'm working on a new site using zpArdoise theme (with latest zen photo build) and I'm having a curious problem with displaying the full image when the image is part of a dynamic album.
I have an album 'Selected Images', which is a dynamic album generated by a saved search with images with the tag: 'selected'. The basic slideshow functionality works fine, as does the link to the individual image page. The issue is that when the full image is attempted to load into ColorBox, I constantly get the 'This image cannot be loaded' error message. When I try to load the image from its main 'parent' album, the Colorbox functionality performs flawlessly.
I've pulled up FireBug to check the path and the 'src' attribute seems to be the same on the main image page and on the dynamic album, so it doesn't seem to be a path issue (although I could be misreading something).
Any thoughts on this?
Thanks so much for any help here.
Comments
1. to modify the theme to use the unprotected url,
2. Modify the theme so colorbox usese its iFrame mode to load the protected image (displayed on a page and not directly).
3. change the full image option to not protect the full image url
Here are two links to the (unfinished) site so you can see what I'm saying:
Here is a link to the image page when 'sourced' from the main, original album:
http://www.conditionofmusic.com/Year/2009/And You Will Know Us By The Trail of Dead @ Webster Hall (9.18.2009)/And+You+Will+Know+Us+By+The+Trail+of+Dead+(13+of+25).jpg
(colorbox works great here)
Here is a link to the image page when 'sourced' from the dynamic album:
http://www.conditionofmusic.com/Subject/Selected Images/And+You+Will+Know+Us+By+The+Trail+of+Dead+(13+of+25).jpg
(colorbox fails here)
Could be the Gallerfific script involved. Try a standard theme instead to find out.
I would recommend to try not to use spaces in file/folder names. Besides it can cause issues with scripts it also looks not so nice (as you see on your two links).
I had unchecked both of the 'Full Image Protection' check boxes, but I had left 'Protected View' selected. When I switched to 'unprotected' then the images started displaying properly in the dynamic albums.
Thanks, again.
sbillard, could you give me some example of pathurlencoding ?
@sbillard: I think none of our themes uses it for the full image actually. Default and Zenpage just use html_encode() only.
But as acrylian has noted, there are some omissions in the standard themes. This will work, of course, unless there is a characater in the name that gives problems if not urlencoded. That does not seem to be the case in joe_dicastro's links, but if somehow the html encoding of the space was not decoded by the browser then that would cause problems.