Multiple sites same server - external_album_folder

Hi, I have ZenPhoto 1.1.5 installed on a server with different domains like .de .jp .it .com which all use the same gallery. I want to set the external_album_folder so that all sites use the same albums folder and I don't have to upload images to all the different domains.

The zp-config.php on all sites uses the main database installation and when I set the external_album_folder to something like:

/home/username/public_html/galleries/images/

...all albums work EXCEPT when viewing an image, which displays the missing image cross icon. If you click on the image it does display in the browser.

I've set all the permissions of the album and cache folder to 777 and the owner to nobody and tried setting the images to 777 also.

Does anyone know why this is happening?

Thanks

Comments

  • Can you post a URL so we can look?
  • elkiwi Member
    Hi the URL is www.nomadsurfers.jp/surfgalleries/

    The site is live so when i see you're around i'll set the external folder so you can have a look. (at the moment it's wroking)

    Thanks very much.
  • It is probably impossible to coordinate a viewing when the site is using the extranal album. Maybe you can look at the page source and see what the img src for the image is when it is failing.

    Post what you find.
  • I can not find any error in your site.
  • elkiwi Member
    Hi, this is the url of the image (properties) when clicked to show full image on a blank html page Which displays ok.

    http://www.nomadsurfers.jp/surfgalleries/california-61/santa-barbara-accommodation/BestWestern_01.jpg.html?p=*full-image

    even though that images is not actually on the .jp site - with the config:

    `$conf['external_album_folder'] = '/home/username/public_html/surfgalleries/images/';`

    and this is the url which doesn't display when image is being viewed in zenphoto.

    http://www.nomadsurfers.jp/surfgalleries/california-61/santa-barbara-accommodation/image/595/BestWestern_01.jpg

    I don't understand how it displays when clicked but not in zenphoto image view? Would love to be able to do this and not have to manage 4 different galleries...

    Thanks for any help.

    PS version is 1.1.4 not 1.1.5 as I wrote originally
  • None of these display for me. In fact, the whole `santa-barbara-accomodations` album seems missing. Anyway, your best bet would be to try the 1.1.7 release. 1.1.4 is pretty old and your problem may have been fixed.
  • elkiwi Member
    Hi sorry about that...the site owner edited the gallery and removed that one. I've installed 1.1.7 but still have the same problem. I'll put up another site as a test and get back to you. thanks.
  • elkiwi Member
    Hi, I thought i'd post back here with how i resolved this in the end. As the sites are on the same server I just made symbolic links of the cache and albums folders of the main install in the other sites zenphoto folders.

    Now when I update the main install's albums they all are automatically updated.

    Hope this helps someone.

    Thanks for all the previous help.
Sign In or Register to comment.