Go Back   Computer Forums > General Computing > Server Administration
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 10-28-2008, 02:08 AM   #1
Jk
In Runtime
 
Jk's Avatar
 
Join Date: Jan 2006
Posts: 236
Default Server file interface with thumbnails?

Well, I finally got my server running nice and I uploaded a bunch of pictures so that family members could see them. The only problem is that apache gives a list of files (PIC_001, PIC_002, and so on) that you have to click on to see. After about 20 pictures this gets old.

Is there any way that I could make a buch of thumbnails that you click on to see the picture larger? Also can I make it possible to download a folder instead of downloading files individually? I woud use FTP but I don't want to have to explain to others how to get that working. If it matters I am running xubuntu 8.04 LAMP server.

Thanks in advance.
__________________

__________________
Evga 680i SLI Mobo | C2d 6420 @ 3.2 | 2gb RAM | 9800gtx | Corsair 750w | Pioneer DVD Writer | 330gb | Antec 300
Ubuntu 9.04 | Windows 7

I miss my opty :c
Jk is offline   Reply With Quote
Old 10-29-2008, 06:27 AM   #2
j03
~~~~~~~~
 
Join Date: Jan 2005
Location: Wales
Posts: 5,556
Send a message via MSN to j03
Default Re: Server file interface with thumbnails?

You could do this, yeah. What you would probably do, is use PHP to recursively make thumbnails with the GD Image library, then have them link to the original image. You could have a little check box in the bottom of each thumbnail, and at the bottom of the page, have a "Download Checked" Button.

PHP Would ZIP all of the images into an archive, which the user/family member could then download and extract.

Of course, this wouldn't be too simple to code, but if you like, You can add me on MSN and we could have a go at writing this script... Or if you haven't had any experience with it, I could do it for you.

You could use a gallery script, but in my experience, they are a bit... meh. They do the job, along with a load of other things that aren't really necessary.
__________________

j03 is offline   Reply With Quote
Old 10-31-2008, 03:11 PM   #3
Jk
In Runtime
 
Jk's Avatar
 
Join Date: Jan 2006
Posts: 236
Default Re: Server file interface with thumbnails?

Well I guess there is an excuse for me to start learning PHP. I've heard of some gallery scripts but as you said the seem a little bloated. I'll try do some coding on it and if I run into problems I'll IM you. Thanks.
__________________
Evga 680i SLI Mobo | C2d 6420 @ 3.2 | 2gb RAM | 9800gtx | Corsair 750w | Pioneer DVD Writer | 330gb | Antec 300
Ubuntu 9.04 | Windows 7

I miss my opty :c
Jk is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 11:12 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0