photos in directoriies

Looking for a site that can store all the images in cascading directories. Can Zen photo do this.

/main/
/main/album1/
/main/album2/album3/
/main/album4/album5/album6/
/main/album7/
/main/album8/

Each folder can have a combination of images and/or sub folders.

I'd like the application to simply wrap around whatever directory tree structure I start at and be able to drag new folders and files into that structure and for refreshed pages to see the new structures.

I have over 100GB of images.

Any way to configure zenphoto to do that?

Thanks,
Chris.

Comments

  • acrylian Administrator, Developer
    That is exactly how Zenphoto does it (and it cannot a different way) being file system based. All albums plus images and/or subalbums are within the root `/albums` folder. You can even upload them directly via FTP. Zenphoto will recognize new images and albums automatically.
    http://www.zenphoto.org/news/caching
  • Hi

    I've tried to use my existing photo library on my websever. Therefore I've pointed my apache www directory to my photo location. Installed ZP and moved first 1 album to the ZP album directory. It worked. Then I moved all of my albums (70+) to the default directory. After that no albums were visible anymore and in the admin section the album tab is empty (blank white). On the overview tab the gallery stats = 272 Images, 47 Albums.
    What can I do to make ZP show all of my albums?

    Cheers wgk
  • acrylian Administrator, Developer
    Blank page means php fatal error in most cases. Wild guess: Probably a memory server overload on processing the images you added. You need to review your server php error log.

    Also please review:
    http://www.zenphoto.org/news/general-contributor-guidelines#reporting-bugs

    Please also review:
    http://www.zenphoto.org/news/problems-with-albums-and-images
    http://www.zenphoto.org/news/caching
  • In the apache log I found the following entry

    [Mon Jan 20 21:02:31 2014] [error] [client 85.180.71.138] PHP Fatal error: Invalid album instantiation: Schtzenstr does not exist. in /usbhd/www/foto/zp-core/class-album.php on line 725
    [Mon Jan 20 21:02:32 2014] [error] [client 85.180.71.138] File does not exist: /usbhd/www/favicon.ico
    [Mon Jan 20 21:05:34 2014] [error] [client 85.180.71.138] PHP Fatal error: Invalid album instantiation: Schtzenstr does not exist. in /usbhd/www/foto/zp-core/class-album.php on line 725, referer: http://lijabe.no-ip.org/foto/zp-core/admin.php
    [Mon Jan 20 21:05:41 2014] [error] [client 85.180.71.138] PHP Fatal error: Invalid album instantiation: Schtzenstr does not exist. in /usbhd/www/foto/zp-core/class-album.php on line 725, referer: http://lijabe.no-ip.org/foto/zp-core/admin-tags.php
    [Mon Jan 20 21:05:49 2014] [error] [client 85.180.71.138] PHP Fatal error: Invalid album instantiation: Schtzenstr does not exist. in /usbhd/www/foto/zp-core/class-album.php on line 725, referer: http://lijabe.no-ip.org/foto/zp-core/admin-options.php?page=options&tab=general
    [Mon Jan 20 21:06:58 2014] [error] [client 85.180.71.138] PHP Fatal error: Invalid album instantiation: Schtzenstr does not exist. in /usbhd/www/foto/zp-core/class-album.php on line 725, referer: http://lijabe.no-ip.org/foto/zp-core/admin.php
    [Mon Jan 20 21:07:05 2014] [error] [client 85.180.71.138] PHP Fatal error: Invalid album instantiation: Schtzenstr does not exist. in /usbhd/www/foto/zp-core/class-album.php on line 725, referer: http://lijabe.no-ip.org/foto/zp-core/admin-edit.php
    [Mon Jan 20 21:07:19 2014] [error] [client 85.180.71.138] PHP Fatal error: Invalid album instantiation: Schtzenstr does not exist. in /usbhd/www/foto/zp-core/class-album.php on line 725
    [Mon Jan 20 21:07:27 2014] [error] [client 85.180.71.138] PHP Fatal error: Invalid album instantiation: Schtzenstr does not exist. in /usbhd/www/foto/zp-core/class-album.php on line 725

    Does that point to the area where something doesn't work.

    The directory name contains a German Umlaut character Schützenstr. Is this maybe what causes problems?
    I'll eliminate all special characters from the album folders.
    How can trigger a rescan? Will it be done after I restart the Apache?
  • You can use the cache manager plugin to do a full scan of your gallery.

    As to the issue, it is very likely that the umlaut is the cause. Zenphoto can properly deal with these diacritical characters, but maybe it does not know the character encoding of your file system and URL processing.

    Setup will have warned you about this. You need to place a specially named file--charset_tést--in the zp-data folder so that Zenphoto can know the file system encoding. The content of the file is not important.
  • acrylian Administrator, Developer
    I would still recommend to not use "Umlaute". For some reason German servers still have problems with that.
  • Now I'm a step further. I've eliminated all Umlaute chars. But now I get the new errors.

    From the log entries I cannot tell if these errors are related to some server restrictions. Can anyone help me in interpreting these error messages?

    {3499:Sat, 25 Jan 2014 18:37:31 GMT} Zenphoto v1.4.5.8[676d2dec8bbfef0fc4d7929cc0ebf6741ca2f9b4]
    USER ERROR: Invalid image instantiation: file does not exist in /usbhd/www/foto/zp-core/class-image.php on line 146
    trigger_error called from Image->__construct (class-image.php [146])
    from newImage (class-image.php [52])
    from Album->sortImageArray (class-album.php [990])
    from Album->getImages (class-album.php [918])
    from Album->getAlbumThumbImage (class-album.php [1065])
    from printAlbumEditRow (admin-functions.php [2003])
    from printNestedAlbumsList (admin-functions.php [3472])
    from admin-edit.php [1710]
    {3499:Sat, 25 Jan 2014 18:37:38 GMT}
    USER ERROR: Invalid image instantiation: file does not exist in /usbhd/www/foto/zp-core/class-image.php on line 146
    trigger_error called from Image->__construct (class-image.php [146])
    from newImage (class-image.php [52])
    from Album->sortImageArray (class-album.php [990])
    from Album->getImages (class-album.php [918])
    from Album->getAlbumThumbImage (class-album.php [1065])
    from AlbumBase->getAlbumThumb (class-album.php [365])
    from getAlbumThumb (template-functions.php [1657])
    from printAlbumThumbImage (template-functions.php [1705])
    from include (index.php [37])
    from include (index.php [123])
    from index.php [22]
  • ...

    {3533:Sat, 25 Jan 2014 18:42:58 GMT}
    USER ERROR: Invalid image instantiation: file does not exist in /usbhd/www/foto/zp-core/class-image.php on line 146
    trigger_error called from Image->__construct (class-image.php [146])
    from newImage (class-image.php [52])
    from Album->sortImageArray (class-album.php [990])
    from Album->getImages (class-album.php [918])
    from Album->getAlbumThumbImage (class-album.php [1065])
    from AlbumBase->getAlbumThumb (class-album.php [365])
    from getAlbumThumb (template-functions.php [1657])
    from printAlbumThumbImage (template-functions.php [1705])
    from include (index.php [37])
    from include (index.php [123])
    from index.php [22]
    {3534:Sat, 25 Jan 2014 18:43:16 GMT}
    USER ERROR: Invalid image instantiation: file does not exist in /usbhd/www/foto/zp-core/class-image.php on line 146
    trigger_error called from Image->__construct (class-image.php [146])
    from newImage (class-image.php [52])
    from Album->sortImageArray (class-album.php [990])
    from Album->getImages (class-album.php [918])
    from Album->getAlbumThumbImage (class-album.php [1065])
    from printAlbumEditRow (admin-functions.php [2003])
    from printNestedAlbumsList (admin-functions.php [3472])
    from admin-edit.php [1710]
    {3534:Sat, 25 Jan 2014 18:43:42 GMT}
    USER ERROR: Invalid image instantiation: file does not exist in /usbhd/www/foto/zp-core/class-image.php on line 146
    trigger_error called from Image->__construct (class-image.php [146])
    from newImage (class-image.php [52])
    from Album->sortImageArray (class-album.php [990])
    from Album->getImages (class-album.php [918])
    from AlbumBase->getNumImages (class-album.php [329])
    from printAlbumButtons (admin-functions.php [1926])
    from printAlbumEditForm (admin-functions.php [1846])
    from admin-edit.php [1612]
    {3533:Sat, 25 Jan 2014 18:44:43 GMT}
    NOTICE: Undefined index: 2-folder in /usbhd/www/foto/zp-core/admin-edit.php on line 408
    {3533:Sat, 25 Jan 2014 18:44:43 GMT}
    USER ERROR: Invalid album instantiation: No album name in /usbhd/www/foto/zp-core/class-album.php on line 725
    trigger_error called from Album->__construct (class-album.php [725])
    from newAlbum (class-album.php [20])
    from admin-edit.php [409]
    {3622:Sat, 25 Jan 2014 18:45:05 GMT}
    USER ERROR: Invalid image instantiation: file does not exist in /usbhd/www/foto/zp-core/class-image.php on line 146
    trigger_error called from Image->__construct (class-image.php [146])
    from newImage (class-image.php [52])
    from Album->sortImageArray (class-album.php [990])
    from Album->getImages (class-album.php [918])
    from Album->getAlbumThumbImage (class-album.php [1065])
    from AlbumBase->getAlbumThumb (class-album.php [365])
    from getAlbumThumb (template-functions.php [1657])
    from printAlbumThumbImage (template-functions.php [1705])
    from include (index.php [37])
    from include (index.php [123])
    from index.php [22]
    ...
  • Do your images also have diacritical marked characters? Same problem would then exist as for the albums.
  • I just found out, that I did name some of my pics using German Umlaute too. Long time ago, so I forgot about it. I'm trying now to convert these pics.
  • acrylian Administrator, Developer
    Normally Zp does by default if the seo plugin is enabled and ftp is not used to upload. There is a plugin name seo_cleanup to do this after uploading.
Sign In or Register to comment.