![]() |
|
full image display from external folder fails - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: full image display from external folder fails (/thread-10284.html) |
full image display from external folder fails - ho666es - 2012-08-09 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'; url download unprotected http://www.ho66es.org/share/Qmultimedia/Photos/2012/2012-08-04%20now%20you%20dont/IMG_4519.JPG gives 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. full image display from external folder fails - sbillard - 2012-08-09 You cannot make a link to an external album--the whole point of external is that the album is not within the WEBPATH, so it cannot be accessed by the browser. Perhaps we should make it an error to attempt to do this. full image display from external folder fails - ho666es - 2012-08-09 hmmm I am not trying to link to it, just showing what the links are for the intermediate image. 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 full image display from external folder fails - sbillard - 2012-08-09 I guess I do not understand. Unless you issue a function call to print the link it will not show up, so will not be a problem. If you do try to generate a link to the unprotected version of an external album image the linkwill fail for the reason given. 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. full image display from external folder fails - ho666es - 2012-08-09 hmm ok I 'think' we are talking at cross purposes. Setup web root is /share/Qweb this makes the images external in my understanding and as above the two lines in my cfg read $conf['album_folder'] = '/share/Qmultimedia/Photos'; if you browse to http://www.ho66es.org/zenphoto 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 full image display from external folder fails - sbillard - 2012-08-09 I do not know why you would have been successful at getting the browser to load the unprotected full image in the past. The link should have been to "http://www.ho66es.org/share/Qmultimedia/Photos/2012/2012-08-04%20now%20you%20dont/IMG_4519.JPG" as you show in your earlier post. Since that does not point to the image the browser should give a not found. This is simply how it works. 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. full image display from external folder fails - ho666es - 2012-08-09 ok I have no idea why it worked in the past in this case. I will leave it set so that clicking the image downloads the file. Thankfully seems to work fine for image in the external folder |