Moving www/html/zenphoto/albums ... elsewhere.

Hello,

I love ZP i'm using from a very old version on a hosted server.
I'm now rebuilding everything on a raspberry. The memory is light and my idea is to recreate the albums on an external drive.
Currently ZP seems to work succesfulty on www/html/zenphoto/ with some test photos in the relative albums directory.

How to do securely do to make ZP running an album in :
/media/abigEDD/Lotsofphotos
I’ve seen some support for a former version of ZP but can’t find my way in the new one…

Thank you !

Comments

  • acrylian Administrator, Developer
    You cannot place the albums folder on external drives actually. You can rename it and you can move it outside the webroot or on the same server/domain. It is all meant to be on the same server. You can set that in the `/zp-data/zenphoto.cfg.php` file.

    But not an external server. The reason is that Zenphoto's gallery part is entirely file system based.

    It might be possible to try symlinks to achieve this. But this has not really been tried, at least not by us.
  • Thank you.

    I changed the lines somewhere in /zp-data/zenphoto.cfg.php

    $conf['album_folder'] = '/media/abigEDD/Lotsofphotos/';
    $conf['album_folder_class'] = 'external';

    And this is working like a charm.
    Best regards
Sign In or Register to comment.