obliviousally_lj: (Default)
[personal profile] obliviousally_lj

I NEED WEBSITE HELP


Okay, I'm not sure if there's an easy way to do this or not, but it's something I'd like to have.

On Furtopia, when you would load up a directory (.../art/, .../photos/, whatever), it would show all the images in the directory as thumbnails, making a simple and basic gallery.

I want to do this on my new webspace, but I do not know how. It was coded into every site on Furtopia, it's not with the one I'm on now. Is there a simple way to do this? Keep in mind, I can follow directions, but I don't know anything about server/backend stuff when it comes to websites and hosting and I don't want to risk borking something.

Essentially, instead of a list, I want thumbnails:



Or something similar to that, I think you get the jist. I don't want anything ~fancy~. Just the directory as a page of thumbnails that link to the images themselves.

Date: 2011-05-08 11:27 pm (UTC)
ext_79259: (Default)
From: [identity profile] greenreaper.livejournal.com
I think you need AutoIndex (http://search.cpan.org/~gozer/Apache-AutoIndex-0.08/AutoIndex.pm). You'd have to follow the instructions to install it into Apache, and presumably install the module itself and its dependencies from CPAN.

If you're not great at the whole editing httpd.conf files thing, that might be tricky. Here's what I think you need to do:

At a command line:
cpan App::cpanminus
cpanm Apache::Icon
cpanm Apache::AutoIndex
cpanm Image::Magick

In your httpd.conf, outside of any Location/Directory sections, add:

PerlModule Apache::Icon
PerlModule Apache::AutoIndex
PerlModule Image::Magick
PerlTransHandler Apache::Autoindex::transhandler
PerlHandler Apache::AutoIndex

Add any desired per-directory indexing settings as specified in the Directives section of the instructions.

(You will almost certainly want to add IndexOptions +Thumbnails as one of these, since otherwise it won't try to make thumbnails.)

Profile

obliviousally_lj: (Default)
obliviousally_lj

March 2020

S M T W T F S
12 34567
891011121314
15161718192021
22232425262728
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 1st, 2026 11:41 am
Powered by Dreamwidth Studios