Website galleries?

Soldato
Joined
14 Jul 2005
Posts
17,616
Location
Bristol
I know technically this would be better in the web area, but it is photography based. :)

I'm fiddling with my site at the moment and am after a nice, clean, simple (looking) image gallery along the lines of what MessiahKhan has on his site, but something that is free.

At the moment I have a simple gallery system, which is ok, but it just doesn't seem right on my site. It makes me feel that it needs to display some info on the photos, but it can't.

It needs to embed in a page, not be a standalone page, if that makes sense...

I did have the likes of 'images.html' which required editing offline, but now I can easily update the site online I'd like a photo gallery that works well.

My website is here

If you navigate to the 'Gallery' page you can see that the current plugin I am using just spams images down the page, which isn't of much use.

I'm probably not making much sense, but if you look at mine, then at MK's you'll get the idea of what I have, and what I would prefer. :)

InvG
 
Nice pimping, although I don't see the coat, cain and lowrider. :p

I'll have a gander at that one certainly, more after something that fits in the stupidly small area I have available on my site.

Having said that, I may well end up changing the site's layout again soon, to something not so small and restrictive, but once I've set up all of the pages I want website theme changes aren't hard.

InvG
 
Ok, so one of the ones I tried before and couldn't get to work I now have working...what you lot think (ignore the shoddy photos :p).

My Gallery.

EDIT: if the site appears to be down, it's due to my naff host, and it'll come back up after a couple mins.

InvG
 
Last edited:
Well I didn't see the first before you replaced it but I don't think that's too bad. It doesn't stand out to me as a photography site using that, though, more of just a gallery that's been added to a blog / personal site - which is what it is. How customisable in the UI? I do like lightbox, though, it's what I use on mine.
 
I am looking for a good gallery app for my site i currently have simpleviewer, and as of yet havent been able to find one i like so am tempted at the minute to try and script my own if i get around to it.
 
I am looking for a good gallery app for my site i currently have simpleviewer, and as of yet havent been able to find one i like so am tempted at the minute to try and script my own if i get around to it.
I don't think simpleviewer is too bad if used well really, it's just annoyingly slow to load and the navigation options aren't great. On your site, for example, how do you get out of a gallery without using the back button in the browser (or am I just missing something obvious?)?
 
I don't think simpleviewer is too bad if used well really, it's just annoyingly slow to load and the navigation options aren't great. On your site, for example, how do you get out of a gallery without using the back button in the browser (or am I just missing something obvious?)?

You hit the nail on the head, i cant alter the script for simpleviewer to add a back button why i am looking for a new gallery app so keep the suggestions coming!
 
I used to use gallery2 but had to hack about a bit to get it working the way I wanted to. In the end I bit the bullet and paid £28 for Imagevue and I like it's simplistic look plus it was easy enough to setup. You can take a look at my site here: www.shutter-life.co.uk

I still use Gallery2 on another site for photo's which friends and family can look at as it is fine for that without customising but it just didn't feel right when applying it to a 'portfolio' style site.
 
SimpleGal site said:
Copy or rename the file called config-example.php to config.php and open it in your favourite text editor, editing the values to fit your own details. Be sure to edit the username and password.

Have you done the bold?

InvG
 
Yes, I've done the edits:

<?php

define('MAINTITLE', "Brian Innes Photography");

// Hostname only, no protocol or trailing slash.
// eg: google.com
define('DOMAIN', 'brianinnesphotography.co.uk');
// Leading slash, no trailing slash.
// eg: /simplegal
define('FOLDER', '/simplegal');

// In pixels. Some editing of your templates might be
// required if you change these values.
define('THUMB_WIDTH', 150);
define('THUMB_HEIGHT', 150);
define('SIZED_WIDTH', 700);
define('SIZED_HEIGHT', 700);

// Applies only to JPEGs; 1-100 (although >80 is typically
// unnecessary).
define('THUMB_QUALITY', 75);
define('SIZED_QUALITY', 75);

// Whether or not to use "pretty", mod_rewritten URLs.
// Requires an Apache server with mod_rewrite.
define('MOD_REWRITE', false);

// What it says on the tin; how many images are displayed on
// each album page.
define('PICS_PER_PAGE', 25);

// How to sort images within albums.
// Accepted values are `title`, `modified`, `description`, `filename`, `filesize`, `type`
define('SORT_IMAGES_BY', 'filename');
// After sorting, in what order to display images.
// Valid choices are `asc` and `desc`.
define('SORT_IMAGES_ORDER', 'asc');

// How many albums are displayed on each page.
define('ALBUMS_PER_PAGE', 10);

// How to sort albums on the front page.
// Accepted values are `raw_name`, `title`, `description`, `num_images`, `last_modified`, and `total_filesize`
define('SORT_ALBUMS_BY', 'raw_name');
// After sorting, in what order to display albums.
// Valid choices are `asc` and `desc`.
define('SORT_ALBUMS_ORDER', 'asc');

// The username and password used for web uploads.
define('USERNAME', 'brianinn');
define('PASSWORD', 'adc0804x');

// Must be a directory under ./templates/
define('THEME', 'default');


///////////////////////////////////////////////////////////////////////////
// Advanced stuff below here: you probably don't need to look at it if //
// you're just looking to get SG up and running. //
///////////////////////////////////////////////////////////////////////////


// How long until cached pages expire, in seconds.
// The default is one day; set to 0 to regenerate on every page load,
// or -1 to only ever purge the cache manually.
define('CACHE_LIFETIME', 86400);

// Sets $smarty->force_compile, amongst other things. Use when writing
// templates or plugins if you need to.
define('DEBUG_MODE', false);

// Shows PHP strict errors: you really don't need to use this.
define('EXTENDED_DEBUG', false);

// Should only need to change if you have multiple SG installations
// on the same domain
define('SESSION_PREFIX', 'sg_sess_');

// If defined, SG will *append* this value to album passwords before hashing
// them. This means when storing your hashed passwords, you need to append
// this salt first. Make this as unique as possible.
// define('ALBUM_SALT', '');

// Acceptable mimetypes. The default includes every image format SG
// can handle, so it's probably not wise to /add/ to this.
$valid_mimes = array(
'image/png',
'image/x-png',
'image/gif',
'image/jpeg',
'image/pjpeg'
);

// Don't mess, foo'.
define('BASEDIR', dirname(__FILE__));
define('DOCROOT', 'http://' . DOMAIN . FOLDER);

?>
 
I don't think simpleviewer is too bad if used well really, it's just annoyingly slow to load and the navigation options aren't great. On your site, for example, how do you get out of a gallery without using the back button in the browser (or am I just missing something obvious?)?

Porta is a really useful front end to simpleviewer.

It has an option for "Introduction and album link" which can be used to create a link back to the front/any page/url.
 
Add this to the top of your config.php:

Code:
error_reporting(E_ALL);
ini_set('display_errors', 1);

or alternatively check your host's error log, and post what you get. Also, what PHP + GD version are you using?


I get this in the error_log:


[18-Mar-2008 19:02:29] PHP Warning: exec() has been disabled for security reasons in /home/brianinn/public_html/simplegal/cli.php on line 93

PHP version 5.2.5

my server is on TSOHost, Added echo phpinfo(); to config.php, seems GD is installed 2.0.34 compatible

unless I'm not using simplegal correctly, should I see anything after installing it on the server, adding some images under albums, then running cli.php?
 
Last edited:
Back
Top Bottom