image location

In the past I've used an older version of zenphoto, and the images were all neatly under the albums folder.
I'm now using 1.4 on a different server.
I've tried copying images to the albums folder, but they don't show up.
I've uploaded some images (very slow...), but i can't find them in the directories.
where are the images stored?
Thanks

Comments

  • just to clarify - I tried uploading images to subfolders under albums/ .
  • acrylian Administrator, Developer
    Images are still stored in the same place as you used. Did you upload via FTP or backend? If the latter your permissions might be wrong, the images too big for the server upload/POST limits.
  • I've uploaded via FTP, and then copied to the correct location with the command line.
    The images are not that large.
  • The filesystem based image & album structure has not changed since I have been involved with Zenphoto. Maybe check your installaton file structure and be sure it is what you intended. http://www.zenphoto.org/news/installation-and-upgrading

    Just curious: Why did you not just FTP the files to the correct location to start with?
  • the images are shared with other sites / programs.
    What I've done in the past is created soft links from the zenphoto/albums directory to the real location.
    Here it didn't work, so I copied over one directory to try it out. It still didn't work.
  • acrylian Administrator, Developer
    Zenphoto is not really meant or setup to use images from other sites/servers. So that maybe the problem. Please try to use Zenphoto play as intended to see if at least that works. Maybe try a fresh test install.
  • Could it be sue to the fact that the zenphoto is installed in a subdomain / subfolder (shemeshplus.com/photos/)

    http://photos.shemeshplus.com/

    There is supposed to be 2 additional albums over here, anmely: 'mommy (copied over) & 'daddy' - FTP'ed directly to shemeshplus.com/photos/albums.
    Neither of them appear.
  • acrylian Administrator, Developer
    Yes, especially if using modrewrite. photos.shemesplus.com is completely different address than schemesplus.com/photos as the rewrite base is different.

    You also need to check if the albums and also its images are published.
  • It definitely worked with my previous host (hostmonster). I'm now with dreamhost.

    >You also need to check if the albums and also its images are published.

    What do you mean by this?
    The files and folders are all 755.
    I thought it was supposed to recognize the folders & files once dropped in the albums folder.
  • Also - why cant I see the files that I've uploaded via the flash uploader?

    e.g. http://photos.shemeshplus.com/friedman/
  • fretzl Administrator, Developer
    I can see all photo's. Try clearing your browser cache.
  • acrylian Administrator, Developer
    I can also see four pages of images in the friedman album.
  • I wasn't clear;
    I see the friedman images in the web browser.
    i don't see the actual files that were uploaded to the server.

    [naos]$ pwd
    /home/akehat/shemeshplus.com/photos
    [naos]$ ls -l albums/
    total 8
    drwxr-xr-x 16 akehat pg4693812 4096 2012-03-01 07:37 daddy
    drwxr-xr-x 8 akehat pg4693812 4096 2012-02-29 06:28 mommy
    [naos]$ ls -l uploaded/
    total 0
  • Images are not stored in the `albums` directory directly. I think you will get a better feel for how Zenphoto works with the filesystem if you use this command from the same working directory:

    `tree albums | more`

    Example output will be something like this (taken from my test server):

    `
    albums
    -- test
    |-- Hydrangeas.jpg
    -- chibi.gif

    1 directory, 2 files
    `
  • acrylian Administrator, Developer
    Additionally "gallery" images are never uploaded to the /uploaded folder (as I saw that in the list). That is used for outside gallery items only (separate upload subtab on the admin if enabled).
  • I know that images are not stored directly in the albums folder.
    But I would expect to see a 'friedman' sub-folder under the albums folder, as well as a 'test' sub-folder.
    Neither exist.
  • acrylian Administrator, Developer
    Ahm, I can see those two albums "test" and "friedman" on your site. So they must be there and when I access a full iamge the url clearly tells that as well: `http://photos.shemeshplus.com/albums/test/...`

    Are you sure your are looking in the right directory?..;-)
  • > Are you sure your are looking in the right directory?..;-)

    You wouldn't believe it... dreamhost decided to move me to a different server...

    This is from the email I got Feb 29:

    >This is just a note to let you know that we have moved your account to a new server!

    And they left the old one intact too, so I disregarded that email.

    So, now that I logged in to the new server, I found 'test' & 'friedman' under albums.
    In addition, I've added a soft link to the directory outside of the web root, and now have all (well, almost) of my pictures on the site.

    Thank all for your help.
  • Well, I have to admit that this is a new one for me. No wonder you were confused!
  • In the past I've used an older version of zenphoto, and the images were all neatly under the albums folder.
    I'm now using 1.4 on a different server.
    I've tried copying images to the albums folder, but they don't show up.
    I've uploaded some images (very slow...), but i can't find them in the directories.
    where are the images stored?
    Thanks
  • acrylian Administrator, Developer
    Images are stored in the /albums folder in the root of your Zenphoto installation as always. If they don't show up and are there they are not published which is the default by upload via FTP.

    If uploading via the backend does not work you might have wrong permissions. See your server error logs.
Sign In or Register to comment.