You are not logged in.

#1 2005-10-10 22:50:09

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

html automation question

I have a bunch of images on a server, and want to create a webpage where they are all available as thumbnails and ca be downloaded. I know how to do this in HTML, but I was wondering if there's an automated way to create such an html-page. It's really tedious to go through hundreds of images manually... Thanks in advance.

Offline

#2 2005-10-11 01:15:42

freakyc
Member
Registered: 2004-03-28
Posts: 91

Re: html automation question

I believe Gallery, can do what you're asking, at least if the server it's on has ftp access.  I know Gallery2 at least has quite a few different ways of uploading images.

Offline

#3 2005-10-11 01:21:42

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: html automation question

Thanks. I'll check it out. Is it supposed to be run from a server? I've no experience at all with server-stuff... just started today by getting myself a domainname..

Offline

#4 2005-10-11 01:30:48

freakyc
Member
Registered: 2004-03-28
Posts: 91

Re: html automation question

Yeah, it's meant to be run from a server.  It'll require PHP and MySQL, I believe.

I think quite a few webhosts provide it as an option too since I think it's provided by Fantastico.  It possibly won't be Gallery2 though.

Doesn't look to be a package of it in the repos or AUR unfortunately.

Offline

#5 2005-10-11 01:33:47

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: html automation question

thanks for the info. If it's to be run from a server, then I guess it's just copying to the server and pointing my web browser to the appropriate address...

EDIT: Just tried it, but I'm getting "Internal Server Error", although I know the server supports both mysql and php. Isn't there anything simpler; like something for gimp to do it...?

Offline

#6 2005-10-11 01:41:59

freakyc
Member
Registered: 2004-03-28
Posts: 91

Re: html automation question

The might be something simpler.  Possibly a script or something.  But that was the only thing that I thought of.

Offline

#7 2005-10-11 01:43:57

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: html automation question

Alright. I'll continue looking around, then. Thanks for your help.

Offline

#8 2005-10-11 02:18:41

glib
Member
Registered: 2005-09-27
Posts: 46

Re: html automation question

You probably need to chmod 755 something. It comes with setup instructions.

Offline

#9 2005-10-11 09:05:25

tbuitenh
Member
Registered: 2004-03-08
Posts: 55

Re: html automation question


I wish life was as simple as editing config files

Offline

#10 2005-10-11 10:54:26

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: html automation question

tbuitenh wrote:

Thanks a lot! That seems to do the trick. It's the first one I tried that I can actually run. The installation was kinda weird though. I'm not good with the whole sed-awk thing so I couldn't write a proper PKGBUILD for it...

Offline

#11 2005-10-11 18:40:56

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: html automation question

igal fits my needs perfectly except one thing. When a thumbnail is clicked, th original sized picture is shown. The problem is that since the large image is viewed in full size, all you see on your screen is an enormously zoomed in ear or nose (some of the images are really high-res).

So what I'm wondering now is whether there's a way to change the css file as to make the imgages fit to the size of the window. Any ideas?

Offline

#12 2005-10-26 09:48:00

tbuitenh
Member
Registered: 2004-03-08
Posts: 55

Re: html automation question

sorry for the late reply  hmm

I don't have igal installed atm, but I believe it has commandline options to resize the originals or to insert a page with a resized version between the thumbnail and the original. man igal .

You do need to have imagemagick installed, otherwise it won't do any resizing.


I wish life was as simple as editing config files

Offline

Board footer

Powered by FluxBB