Broken images in ZenPhoto
I’ve installed ZenPhoto a couple of times and both times I had broken images. At first I thought it might have been the permission settings for the “/albums” or “/cache” were not set to 777. That wasn’t it. Then I did a Google search, and the ZenPhoto forum popped up with suggestions that my .htaccess file wasn’t configured properly, but that wasn’t it either. It turns out the issue was needing to override the paths, which can be done at the bottom of the zp-config.php file. It looks like this:

Now, I thought having figured this out during my first installation that I would have no problem with my second. Well, it turns out that I got a little confused because my second installation was for an add on domain. So, in order to make it work, I had to use the full server path plus the directory that contained my add on domain for the ‘SERVERPATH’. I had installed ZenPhoto in the root of the add on domain, so I thought I would set “/” as the ‘WEBPATH’, but then I learned I needed to leave it blank between the quotes.
Hopefully my learning lessons published here will help someone else Googling for answers about why the images show up broken after installing ZenPhoto.
What say you about all of this?
Trackback URL Comment feed