httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: [users@httpd] Display Thumbnails in Folders
Date Tue, 05 May 2009 15:41:57 GMT wrote:
> Greetings;
> I am using CENTOS 4.7, Apache 2.0.52, kernel 2.6.9-78.0.13.EL as a home server on a real
DEC server.
> I have pictures I'd like displayed as thumbnails in folders instead of a listing by file
name, all jpg's (similar to flickr).  I've searched apache mime types and tried to understand
the conf file by trial and always error, even adding AddType image/jpg .jpg to my conf file
and restarting the service.  There is a phpalbum program, but I'm not sure I should go in
this direction; I thought editing the httpd.conf file was all that is necessary.
> Can anyone give me some direction?

I think Apache by itself won't do that.

Adding the type (which should probably already be there anyway) will 
only make it so that when clicking on the link to one of these image 
files, Apache will send them with the correct Content-Type header.
To have a kind of "thumbnails" display, Apache would need to send an 
html page, with these images linked in as <img> tags. And these img tags 
themselves would need to point to some program on the server that 
reformats the original (big) jpegs as thumbnails and serves them.
All in all, if this is a one-off thing you want for personal use, I 
would indeed suggest finding some PHP or else ready app which does all 
that already, and more. There must be dozens available.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message