trouble installing...

Hello All - new to Zen Photo and having some road blocks:

(1) I was able to upload images using FTP by creating a new folder in albums folder. The image file name appears in the Admin page but I can't navigate to the actual album. No thumbnail present either. Typing in the URL of the image in the folder works though.

(2) Is this an .htaccess issue? If so, where do I find this file and/or delete it?

(3) Is this a chmod issue? If so, how I do I change this?

Thanks for ANY help.

A

Comments

  • Ok so I installed it, changed the Ownership and Permission Unix Equivalent to 777 for albums and cache. Still no luck. No thumb nails or image despite the image appearing physically in the directory. Still havent found the htaccess file.

    Looking for guidance, A
  • trisweb Administrator
    Hello,

    It would be very useful to have the URL of your installation. Usually us experts can look at it and determine the problem just from that.

    The .htaccess file is located in the zenphoto root directory. If it's not there, try turning the `mod_rewrite` option to `false` in the `zp-config.php` file.
  • Hello Tris, thank you so much for your input. After re-sintalling it, re-building the tables and ultimately after following your suggestion and turning the mod-rewrite option to false it worked.

    Now I have a few minor questions:

    1. If you navigate to http://mcatpearls.com/zen/index.php?album=test&image=neuro_sys_Page_04.jpg you will see the image. I changed the $conf['image_size'] = 1000 to improve the resolution of the text containing-image. Is there a way to center the image better?

    2. In re. to the permissions of the cache and album folders, can I make the read/write/execute just for the owner and reduce the access to group users to read only? Will they still be able to leave comments if I do that?

    3. Just for my education, what is the mod-rewrite command for? Why does it need to be turned off?

    Very appreciative, A
  • Tris, I just figure out my question #1 re. accomodating a larger image (for those interested, see below), At your leisure, it would be interesting to know the answers to #2 and #3 -thanks! Alfa

    Changing the size of the center, body div:
    To increase the body width to accomodate large pictures so there is no overhang, I went to the CSS for the theme I used. Then, I naviagted to the appropriate DIV declaration and changed the width from the default 600 to 1000 pixels:

    #main {
    text-align: left;
    margin: 20px auto;
    width: 1000px;
  • I can answer #3. Mod rewrite is an "extension" to apache which allows for URL rewriting and other fancy stuff to be done to web links.

    Mod rewrite is optional for zenphoto, but it does make nice, pretty URLs in the brower, so instead of http://www.thinkdreams.com/zenphoto/index.php?album=whatever&image=whatever it is changed to http://www.thinkdreams.com/zenphoto/whatever/whatever

    Does that help? I would be running it on my site, but the current version with the subalbums theme doesn't work well with mod_rewrite yet.
  • When you set RewriteEngine On in the htaccess file, this is essentially what you are turning on. This coupled with the mod_rewrite parameter in zp_config turns on this functionality for Zenphoto.

    The lines below in the htaccess file included with zenphoto are for the pretty URL rewriting. I don't profess to be an expert on the rewriting of URLs, so Tristan is the best bet for any technical questions relating to custom rewriting.
Sign In or Register to comment.