ZP 1.2 and full size image URL problem

Hi,

I've just updated my ZP from 1.1.7 to ZP 1.2 (copying all files from ZP 1.2 over old installation and running update script afterwards) - everything seem to work OK, except the full image URL. At the moment the URL is containing full filesystem path to the directory on the server, where images are stored. Something like:

http://mysite.com/var/www/website/data/zp-images/album1/image.jpg

where the dir:

/var/www/website/data/zp-images/

is the dir where I upload the pictures. The ZP itself is installed at:

/var/www/website/htdocs

so the images as you see are below document root.

With the old installation (1.1.7) all requests where "routed" (my guess) through script, which was picking up the img from the dir below the doc-root. But with ZP 1.2 it seems doesn't work anymore... Is something changed here or I need to update my zp-config or so?

Thanks for help!
Cunami

Comments

  • I did not have a direct comparison between 1.1.7 and 1.2 but I did observe the same as you with 1.2 when $conf['external_album_folder'] was set (to the respective directory). It worked when it was set to NULL, and the behavior depends on your settings for full size links/protection, of course. I assume it is a bug. HTH.
  • Check your setting for image protection. It must be set to 'protected' for images outside the doc-root to be served.
Sign In or Register to comment.