So many pictures! How to show them?

Posted by: Dignan

So many pictures! How to show them? - 10/03/2002 20:45

So I've gotten that web site together with the awesome help from redbutt2. Thanks so much, man. That is amazing code!

So now I have the site up. Now there's something else I need to add to it: a photo gallery.

I've thought of so many possible ways of doing this, but none are any good. The site is nice and simple at the moment, so that's good. I've pretty much settled on opening a new window for the entire gallery.

The thing is, I plan on having a large amount of pictures, and I don't know what the best way of showing them all is.

For reference, here is the page I'm referring to.

I don't like the method I have now. It doesn't allow for enough pictures very well.

So can anyone point me to a good example of a photo gallery? Someplace that does a nice job with it?
Posted by: robricc

Re: So many pictures! How to show them? - 10/03/2002 21:00

What about the Gallery software that runs on RioCar.org? I have set it up in 3 different applications without PHP Nuke. Simple as hell to install.
Posted by: Dignan

Re: So many pictures! How to show them? - 10/03/2002 21:17

Now, when you say "simple as hell", do you mean for anyone with basic HTML knowledge? I've got my HTML down pretty good, and my CSS is decent, but neither of these have anything to do with this

How exactly do you go about setting this up?
Posted by: robricc

Re: So many pictures! How to show them? - 10/03/2002 21:30

As long as the server you're running supports PHP 4, you just have to untar the package in your root directory. It will automatically "unzip" into a directory called 'gallery.' Once that is done, just go to that directory from a web browser and follow the prompts. Very Very easy.
Posted by: loren

Re: So many pictures! How to show them? - 10/03/2002 22:10

Ditto that with Gallery. Good good stuff. I've been using it for a while here. And the developers are really open to improvement code. =]

I just can't wait til 2.0 when we'll have templates. I'm tired of their layout!
Posted by: genixia

Re: So many pictures! How to show them? - 10/03/2002 23:00

I still like igal which has been serving me well.

It is template based, with HTML templates. It will produce an index page with thumbnails that are linked to the full size image. If you want to can get it to generate an intermediate size image as a middle link as well, which I think is great - the intermediate can be 640x480 which is just about suitable for modem users, yet the full size can be available for anyone that may want to print an image. (I use it for my family album). It can create a cation file for you so that you can easily add captions, it can change all the files permissions to be suitable for www access.

LJ did a little spot on it.
http://www.linuxjournal.com/article.php?sid=5646&mode=thread&order=0

In the article replys, someone talks about having extended it even further to automate on-image logoing, and more. I haven't played with these later versions yet.
Posted by: Dignan

Re: So many pictures! How to show them? - 10/03/2002 23:25

$gallery->app->pnmDir = "/www/htdocs/music/band/netpbm";

Error: I can't find NetPBM at the location you provided. Gallery prefers
NetPBM version 9.9 and up. You can install just the binaries Gallery needs
from Gallery on SourceForge or, you can compile and install the entire
NetPBM package from NetPBM on SourceForge. Note: You can install the
binaries from the Gallery site even if you don't have root access on your box!



I can't seem to get it to find the files I downloaded then stuck in that directory. I just downloaded the tar file from sourceforge, unpacked it, and put it up there. was there anything else I needed to do?

It isn't as easy and painless as you make it out for people like me. It's not like I have a lot of access to my server. But overall I like it. It's gonna take me a while.

*edit*
I also get this:

Error: /www/htdocs/music/band/temporary exists, but is not writeable by the webserver user. Try:


chown -R www /www/htdocs/music/band/temporary

or if that doesn't work

chmod -R 777 /www/htdocs/music/band/temporary


I don't know what this is.
Posted by: robricc

Re: So many pictures! How to show them? - 10/03/2002 23:33

There is a FAQ entry about NetBPM here

Are you able to get a shell access to the machine you're installing to of did you do the install through FTP?
Posted by: Dignan

Re: So many pictures! How to show them? - 10/03/2002 23:37

I don't know what Shell is. that's a problem right there

I've been doing the install through FTP.

I'll try that FAQ, thanks.
Posted by: robricc

Re: So many pictures! How to show them? - 10/03/2002 23:46

ok, Your FTP program may support chmod. Look at the pic below. To chmod to 777, you want to check all the boxes. chmoding to 777 is very odd to suggest because it basically means you allow anyone to read and write to that directory. Are you able to create a directory outside the public html directory?

EDIT: I am typing too fast. by public html, I mean are you able to create a directory outside 'htdocs'



Posted by: Dignan

Re: So many pictures! How to show them? - 10/03/2002 23:48

Result:

The site www.wm.edu is running Apache/1.3.20 (Unix) mod_ssl/2.8.4 OpenSSL/0.9.6a PHP/4.1.2 on Solaris.

Is that the correct site I should have searched for? I think it is. So the result says I should have gotten the Solaris files. I got the Windows ones

However, I which one do I get?
netpbm1.1-gallery1.0-solaris2.8-intel.tgz
netpbm1.1-gallery1.0-solaris2.8-sparc.tgz

Posted by: robricc

Re: So many pictures! How to show them? - 10/03/2002 23:53

can you open a telnet session to that machine and log in? This would make all of this much easier. You can use AOL instant messenger to reach me for quicker response. My userid is the same for that as this BBS.
Posted by: Dignan

Re: So many pictures! How to show them? - 10/03/2002 23:55

You're right, it is odd. Apparantly, my server thinks so too. I tried to change it (using CuteFTP), and the exact same dialog box came up. I checked the boxes and applied it, but it doesn't stick. I get this:

[temporary]
COMMAND:> SITE CHMOD 777 temporary
502 SITE command not implemented.
Posted by: robricc

Re: So many pictures! How to show them? - 10/03/2002 23:57

I think it's likely you would need the sparc binary. Running Solaris on Intel is not a particularly efficient thing to do.
Posted by: robricc

Re: So many pictures! How to show them? - 10/03/2002 23:59

ok, the server is not allowing you to change the permissions through FTP for some reason. when going through the gallery setup, try putting in '/tmp' as the temporary directory and see what happens.
Posted by: David

Re: So many pictures! How to show them? - 11/03/2002 02:13

You may find a non-dynamic photo gallery more suitable - something that builds the static HTML on your local computer for you to upload later. Try looking here:

http://www.versiontracker.com/mp/new_search.m?productDB=win&mode=Quick&OS_Filter=Windows&search=gallery

Posted by: robricc

Re: So many pictures! How to show them? - 11/03/2002 07:19

You might be right. After speaking through AOL, there are only two obstacles left. He can either get a shell account to change permissions here and there, or have the admin make the changes. Either way, the success of getting it working depends on the mood of the admin.
Posted by: Neo_to_Rio

Re: So many pictures! How to show them? - 11/03/2002 09:38

Robricc. So what's the trick for including an image with the text in a posted message for this forum? I haven't been able to figure this out. You obviously have.
Posted by: robricc

Re: So many pictures! How to show them? - 11/03/2002 10:02

[img]http://link.to.image/[/img]
Posted by: tfabris

Re: So many pictures! How to show them? - 11/03/2002 10:49

I thought it had to be the full word "image" in the brackets.
Posted by: Neo_to_Rio

Re: So many pictures! How to show them? - 11/03/2002 10:49

Thanks Rob. That's too easy. Can't wait to try it.
Posted by: Neo_to_Rio

Re: So many pictures! How to show them? - 11/03/2002 11:07

Well, I really couldn't wait. So here's a test image

just to see if it works
Posted by: robricc

Re: So many pictures! How to show them? - 11/03/2002 11:36

well, the BBS FAQ says image, but I've always used img for some reason. They both seem to work the same...