#79312 - 10/03/2002 20:45
So many pictures! How to show them?
|
carpal tunnel
Registered: 08/03/2000
Posts: 12341
Loc: Sterling, VA
|
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?
_________________________
Matt
|
Top
|
|
|
|
#79313 - 10/03/2002 21:00
Re: So many pictures! How to show them?
[Re: Dignan]
|
carpal tunnel
Registered: 30/10/2000
Posts: 4931
Loc: New Jersey, USA
|
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.
_________________________
-Rob Riccardelli 80GB 16MB MK2 090000736
|
Top
|
|
|
|
#79314 - 10/03/2002 21:17
Re: So many pictures! How to show them?
[Re: robricc]
|
carpal tunnel
Registered: 08/03/2000
Posts: 12341
Loc: Sterling, VA
|
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?
_________________________
Matt
|
Top
|
|
|
|
#79315 - 10/03/2002 21:30
Re: So many pictures! How to show them?
[Re: Dignan]
|
carpal tunnel
Registered: 30/10/2000
Posts: 4931
Loc: New Jersey, USA
|
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.
_________________________
-Rob Riccardelli 80GB 16MB MK2 090000736
|
Top
|
|
|
|
#79316 - 10/03/2002 22:10
Re: So many pictures! How to show them?
[Re: robricc]
|
carpal tunnel
Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
|
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!
|
Top
|
|
|
|
#79317 - 10/03/2002 23:00
Re: So many pictures! How to show them?
[Re: loren]
|
Carpal Tunnel
Registered: 08/02/2002
Posts: 3411
|
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.
_________________________
Mk2a 60GB Blue. Serial 030102962
sig.mp3: File Format not Valid.
|
Top
|
|
|
|
#79318 - 10/03/2002 23:25
Re: So many pictures! How to show them?
[Re: robricc]
|
carpal tunnel
Registered: 08/03/2000
Posts: 12341
Loc: Sterling, VA
|
$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.
Edited by DiGNAN17 (10/03/2002 23:29)
_________________________
Matt
|
Top
|
|
|
|
#79319 - 10/03/2002 23:33
Re: So many pictures! How to show them?
[Re: Dignan]
|
carpal tunnel
Registered: 30/10/2000
Posts: 4931
Loc: New Jersey, USA
|
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?
_________________________
-Rob Riccardelli 80GB 16MB MK2 090000736
|
Top
|
|
|
|
#79320 - 10/03/2002 23:37
Re: So many pictures! How to show them?
[Re: robricc]
|
carpal tunnel
Registered: 08/03/2000
Posts: 12341
Loc: Sterling, VA
|
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.
_________________________
Matt
|
Top
|
|
|
|
#79321 - 10/03/2002 23:46
Re: So many pictures! How to show them?
[Re: Dignan]
|
carpal tunnel
Registered: 30/10/2000
Posts: 4931
Loc: New Jersey, USA
|
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'
Edited by robricc (10/03/2002 23:51)
_________________________
-Rob Riccardelli 80GB 16MB MK2 090000736
|
Top
|
|
|
|
#79322 - 10/03/2002 23:48
Re: So many pictures! How to show them?
[Re: robricc]
|
carpal tunnel
Registered: 08/03/2000
Posts: 12341
Loc: Sterling, VA
|
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
Edited by DiGNAN17 (10/03/2002 23:50)
_________________________
Matt
|
Top
|
|
|
|
#79323 - 10/03/2002 23:53
Re: So many pictures! How to show them?
[Re: Dignan]
|
carpal tunnel
Registered: 30/10/2000
Posts: 4931
Loc: New Jersey, USA
|
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.
_________________________
-Rob Riccardelli 80GB 16MB MK2 090000736
|
Top
|
|
|
|
#79324 - 10/03/2002 23:55
Re: So many pictures! How to show them?
[Re: robricc]
|
carpal tunnel
Registered: 08/03/2000
Posts: 12341
Loc: Sterling, VA
|
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.
_________________________
Matt
|
Top
|
|
|
|
#79325 - 10/03/2002 23:57
Re: So many pictures! How to show them?
[Re: Dignan]
|
carpal tunnel
Registered: 30/10/2000
Posts: 4931
Loc: New Jersey, USA
|
I think it's likely you would need the sparc binary. Running Solaris on Intel is not a particularly efficient thing to do.
_________________________
-Rob Riccardelli 80GB 16MB MK2 090000736
|
Top
|
|
|
|
#79326 - 10/03/2002 23:59
Re: So many pictures! How to show them?
[Re: Dignan]
|
carpal tunnel
Registered: 30/10/2000
Posts: 4931
Loc: New Jersey, USA
|
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.
_________________________
-Rob Riccardelli 80GB 16MB MK2 090000736
|
Top
|
|
|
|
#79328 - 11/03/2002 07:19
Re: So many pictures! How to show them?
[Re: David]
|
carpal tunnel
Registered: 30/10/2000
Posts: 4931
Loc: New Jersey, USA
|
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.
_________________________
-Rob Riccardelli 80GB 16MB MK2 090000736
|
Top
|
|
|
|
#79329 - 11/03/2002 09:38
Re: So many pictures! How to show them?
[Re: robricc]
|
journeyman
Registered: 02/01/2002
Posts: 57
Loc: Silicon Valley
|
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.
|
Top
|
|
|
|
#79330 - 11/03/2002 10:02
Re: So many pictures! How to show them?
[Re: Neo_to_Rio]
|
carpal tunnel
Registered: 30/10/2000
Posts: 4931
Loc: New Jersey, USA
|
[img]http://link.to.image/[/img]
_________________________
-Rob Riccardelli 80GB 16MB MK2 090000736
|
Top
|
|
|
|
#79331 - 11/03/2002 10:49
Re: So many pictures! How to show them?
[Re: robricc]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
|
I thought it had to be the full word "image" in the brackets.
|
Top
|
|
|
|
#79332 - 11/03/2002 10:49
Re: So many pictures! How to show them?
[Re: robricc]
|
journeyman
Registered: 02/01/2002
Posts: 57
Loc: Silicon Valley
|
Thanks Rob. That's too easy. Can't wait to try it.
|
Top
|
|
|
|
#79333 - 11/03/2002 11:07
Re: So many pictures! How to show them?
[Re: robricc]
|
journeyman
Registered: 02/01/2002
Posts: 57
Loc: Silicon Valley
|
Well, I really couldn't wait. So here's a test image
just to see if it works
|
Top
|
|
|
|
#79334 - 11/03/2002 11:36
Re: So many pictures! How to show them?
[Re: tfabris]
|
carpal tunnel
Registered: 30/10/2000
Posts: 4931
Loc: New Jersey, USA
|
well, the BBS FAQ says image, but I've always used img for some reason. They both seem to work the same...
_________________________
-Rob Riccardelli 80GB 16MB MK2 090000736
|
Top
|
|
|
|
|
|