Hi
wonderful zenphoto! Just need to get it to work! I feel i am almost there!
I followed all instructions, managed to upload first set of images to albums folder, all respective folders are read/write but I have trouble viewing the images.
Tried the test.php route
http://doc.gold.ac.uk/~ffl/noaurelia/test.php but to no avail. Not quite sure which path and it should be fine since I was able to upload ?!?!
Here
http://doc.gold.ac.uk/~ffl/noaurelia/ everything is 'fine' (thumbnail not showing) but then it does not use the 'albums' folder in its path.
Any ideas??
Tom
Comments
The reason their is no index image for your albums, is because it doesnt detect the the first thumbnail for your album.
It will be the same if you use subdirectory for your albums (if you do).
It doesnt link because it is just trying to open just the folder (I Think), I think it should say something like
http://doc.gold.ac.uk/~ffl/noaurelia/index.php?album=american-arrival
So check your code for index, do some debugging. In php, echo the link-
echo getAlbumLinkURL();
Thats the first step...
I uploaded both by the admin page and by FTP. When I try and access the gallery a page not found. I am not a php maven and beyond the basics can't follow much of the conversations it seems.
I've spent a few hours trying to find an answer on the Forum and checked the permissions, etc. It seems like this problem is not rare and am suprised the FAQ doesn't deal with it.
I'd like to keep ZenPhoto on the site -- is there a resource here that explain what to do in simple terms that the non-php guru can understand?
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.stiftungleostrauss.com
AuthUserFile /var/chroot/home/content/d/c/o/xxxxxx/html/_vti_pvt/service.pwd
AuthGroupFile /var/chroot/home/content/d/c/o/xxxxxx/html/_vti_pvt/service.grp
_____________
Again, the problem with no pictures showing up (they are there by name in Admin but no thumb nail and have a red x) and no page ---- >>> http://www.stiftungleostrauss.com/zenphoto/
Sorry to be a pill and a newbie - would appreciate any help anyone could give.
<?php /* PUT NOTHING BEFORE THIS LINE, not even a line break! */
$conf = array();
define("DEBUG", false);
/** Do not edit above this line. **/
/**********************************/
/////////// zenPHOTO Configuration Variables //////////////////////////////
// After you're done editing this file, load
// http://www.yoursite.com/zenphotodir/zen/setup.php
// to run the setup (of course, replacing the paths where needed).
// NOTE: web_path and server_path are no longer needed! If you're having problems
// with the auto-detected paths, you can override them at the bottom of this file.
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
// Database Information (the most important part!)
////////////////////////////////////////////////////////////////////////////////
$conf['mysql_user'] = "XXXXXXX";
$conf['mysql_pass'] = "XXXXXXX";
$conf['mysql_host'] = "XXXXXXXXXXXX"; // Won't need to change this 90% of the time.
$conf['mysql_database'] = "XXXXXXXXXX";
// If you're sharing the database with other tables, use a prefix to be safe.
$conf['mysql_prefix'] = "";
////////////////////////////////////////////////////////////////////////////////
// General Gallery Configuration
////////////////////////////////////////////////////////////////////////////////
// What you want to call your photo gallery.
$conf['gallery_title'] = "Stiftung Art";
// Your web site title and address, if you have one. If not, leave blank.
// These are used to link back to your main site, but your theme must support it.
$conf['website_title'] = "Stiftung Leo Strauss";
$conf['website_url'] = "http://www.stiftungleostrauss.com/bunker/index.html";
// If you're in a different time zone from your server, set the offset in hours:
$conf['time_offset'] = 0;
// If you have Apache mod_rewrite, put true here, and you'll get nice cruft-free URLs.
// MAKE SURE TO EDIT THE .htaccess FILE with your path information.
$conf['mod_rewrite'] = true;
// If mod_rewrite is true above, zenphoto's image page URL's usually end in .jpg,
// set this if you want something else appended to the end (helps search engines).
// Examples: .html, .php, /view, etc.
$conf['mod_rewrite_image_suffix'] = '.php';
// Admin interface username (also required for running setup).
$conf['adminuser'] = "admin";
// This isn't that secure, so don't put anything here you don't want anyone to see...
// (but make sure you change it to something other than 1234...)
$conf['adminpass'] = "1234";
// The email for the admin user. Used to send notification emails.
$conf['admin_email'] = "leostrauss@stiftungleostrauss.com";
// If you're running a secure server, change this to 'https' (Most people will leave this alone)
$conf['server_protocol'] = "http";
// The character encoding to use internally. Leave at UTF-8 if you're unsure.
$conf['charset'] = 'UTF-8';
////////////////////////////////////////////////////////////////////////////////
// Image Processing Configuration
////////////////////////////////////////////////////////////////////////////////
// JPEG Compression quality for all images and thumbnails (respectively):
$conf['image_quality'] = 85;
$conf['thumb_quality'] = 75;
// Default image display width (themes will be able to control this
// to an extent in the future, but for now you may have to adjust it to fit your theme).
$conf['image_size'] = 595;
// If this is set to true, then the longest side of the image will be $image_size.
// Otherwise, the *width* of the image will be $image_size.
$conf['image_use_longest_side'] = true;
// Allow images to be scaled up to the requested size? This could result in loss
// of quality, so it's off by default.
$conf['image_allow_upscale'] = false;
// Default thumbnail size and scale:
// If $thumb_crop is set to true, then the thumbnail will be a centered portion of the image
// with the given width and height after being resized to $thumb_size (by shortest side).
// Otherwise, it will be the full image resized to $thumb_size (by shortest side).
// NOTE: thumb_crop_width and height should always be less than or equal to thumb_size
$conf['thumb_size'] = 100;
$conf['thumb_crop'] = true;
$conf['thumb_crop_width'] = 85;
$conf['thumb_crop_height'] = 85;
// Add a small amount of unsharp mask to thumbnails? Slows thumbnail generation on slow servers.
$conf['thumb_sharpen'] = false;
// Paging options:
// Control of their display is done in the theme, so you might need to change these
// after switching themes to make it look better.
$conf['albums_per_page'] = 5;
$conf['images_per_page'] = 15;
////////////////////////////////////////////////////////////////////////////////
// Comment cleaning configuration
////////////////////////////////////////////////////////////////////////////////
// Tags and attributes allowed in comments
// Follow the array form array('tag' => array('attribute' => array()))
$conf['allowed_tags'] = array (
'a' => array ('href' => array (), 'title' => array ()),
'abbr' => array ('title' => array ()),
'acronym' => array ('title' => array ()),
'b' => array (),
'blockquote' => array ('cite' => array ()),
'code' => array (),
'em' => array (),
'i' => array (),
'strike' => array (),
'strong' => array (),
'ul' => array (),
'ol' => array (),
'li' => array (),
);
////////////////////////////////////////////////////////////////////////////////
// Path Overrides
////////////////////////////////////////////////////////////////////////////////
// Uncomment the following two lines ONLY IF YOU'RE HAVING PROBLEMS,
// like "file not found" or "not readable" errors.
// These allow you to override Zenphoto's detection of the correct paths
// on your server, which might work better on some setups.
////////////////////////////////////////////////////////////////////////////////
// define('WEBPATH', '/zenphoto');
// define('SERVERPATH', '/full/server/path/to/zenphoto');
/** Do not edit below this line. **/
/**********************************/
$_zp_conf_vars = $conf;
?>
However, it may not be so simple. I'm guessing you are using FrontPage to manage your main site. FrontPage is really touchy about files in the site that it did not put there. So, it may be messing with you as well. Specially with the .htaccess file, but maybe also with some of the other folders ZenPhoto creates.
I solved this delimma by putting my album in a subdomain. This keeps FrontPage's fingers off it.
Thanks for the tip -- I re-downloaded Zenphoto and the .htaccess file was 100% different than what I had before. How it got so funky no I idea, but will work from there. Appreciate your patience.
http://www.stiftungleostrauss.com/zenphoto
But I really wish I knew what to do with the .htaccess so i could have mod_rewrite= true . . .