httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <dho...@wi.rr.com>
Subject Re: [users@httpd] Display Thumbnails in Folders
Date Tue, 05 May 2009 16:35:03 GMT
Thank you Andre'.  I was hoping it would be a config file change.  I'll look into phpthumbs
or another program.
--
dh

---- "André Warnier" <aw@ice-sa.com> wrote: 
> dholtz@wi.rr.com 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:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message