when clicking on an image located in an external folder zen is failing. If the image is set to download it works, unprotected is failing.
Zenphoto version 1.4.3.1 [10590] (Official build)
cfg
$conf['album_folder'] = '/share/Qmultimedia/Photos';
$conf['album_folder_class'] = 'external';
url
download
http://www.ho66es.org/zenphoto/zp-core/full-image.php?a=2012/2012-08-04+now+you+dont&i=IMG_4519.JPG&q=75&wmk=!&dsp=Downloadunprotected
http://www.ho66es.org/share/Qmultimedia/Photos/2012/2012-08-04 now you dont/IMG_4519.JPGgives me
Not Found
The requested URL /share/Qmultimedia/Photos/2012/2012-08-04 now you dont/IMG_4519.JPG was not found on this server.
Apache Server at www.ho66es.org Port 80
any ideas? it did work before, this is with default theme.
Comments
Perhaps we should make it an error to attempt to do this.
In the past if i clicked on a thumbnail in a gallery I went to a page with the intermediate image and some other details were displayed, if I then clicked on that image it displayed the image full size in browser. Now it fails, however if I switch the image to download instead of unprotected it works and the full image is downloaded? the links above are from right clicking on the intermediate image and saving ling to see if that helped you identify the issue.
If I am still unclear please say and I will try to explain better
No way it will work if the album is really external--the browser cannot follow the link. Of course if you "lied" about it being external it might work, but then why did you not mark it is within the web path?
If the album really is external and you want a link to it you have to set the view to protected view so that the protected view image handler is called to display it.
Setup
web root is /share/Qweb
zenphoto is /share/Qweb/zenphoto
images are in /share/Qmultimedia/Photos
this makes the images external in my understanding and as above the two lines in my cfg read
$conf['album_folder'] = '/share/Qmultimedia/Photos';
$conf['album_folder_class'] = 'external';
if you browse to http://www.ho66es.org/zenphoto
click on 2012
click on 2012-08-04 now you dont
click on 1st thumbnail you get
http://www.ho66es.org/zenphoto/2012/2012-08-04 now you dont/IMG_4518.JPG.php
if you click on this image you get the image downloading from the external path ? at least I do here.
before when I had it set to unprotected in options it displayed the full image in the browser window. I am not sure if something has changed in zenphoto, my browser or my server thats caused this?
Hope this explains it a bit better
I will repeat. You CANNOT create a useable link to an image in an external album. If you want to link to the images do not make the album external. Use a symlink or some other means to set it up.
http://www.ho66es.org/zenphoto/zp-core/full-image.php?a=2012/2012-08-04+now+you+dont&i=IMG_4519.JPG&q=75&wmk=!&dsp=Download
seems to work fine for image in the external folder