Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 20577 invoked from network); 5 May 2009 15:43:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 May 2009 15:43:27 -0000 Received: (qmail 78817 invoked by uid 500); 5 May 2009 15:43:22 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 78795 invoked by uid 500); 5 May 2009 15:43:22 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 78786 invoked by uid 99); 5 May 2009 15:43:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2009 15:43:22 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aw@ice-sa.com designates 212.85.38.228 as permitted sender) Received: from [212.85.38.228] (HELO tor.combios.es) (212.85.38.228) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2009 15:43:13 +0000 Received: from localhost (localhost [127.0.0.1]) by tor.combios.es (Postfix) with ESMTP id 1DCE5226081 for ; Tue, 5 May 2009 17:40:00 +0200 (CEST) Received: from tor.combios.es ([127.0.0.1]) by localhost (tor.combios.es [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9ZMFRg9jHkqi for ; Tue, 5 May 2009 17:40:00 +0200 (CEST) Received: from [192.168.245.129] (p549EA907.dip0.t-ipconnect.de [84.158.169.7]) by tor.combios.es (Postfix) with ESMTPA id C951A226080 for ; Tue, 5 May 2009 17:39:59 +0200 (CEST) Message-ID: <4A005E45.80405@ice-sa.com> Date: Tue, 05 May 2009 17:41:57 +0200 From: =?UTF-8?B?QW5kcsOpIFdhcm5pZXI=?= Reply-To: aw@ice-sa.com User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: users@httpd.apache.org References: <20090505144617.RK0E5.344880.root@hrndva-web21-z02> In-Reply-To: <20090505144617.RK0E5.344880.root@hrndva-web21-z02> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Display Thumbnails in Folders 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 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 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