Looking for Web Page help
May. 26th, 2008 03:29 pmDoes anybody know of a fast way to make an index file for a directory full of pictures on a web page?
It used to be I could position to the directory and see a list of all the files in the directory. My domain provider has disabled that, and now requires an index page.
It used to be I could position to the directory and see a list of all the files in the directory. My domain provider has disabled that, and now requires an index page.
no subject
Date: 2008-05-26 08:34 pm (UTC)no subject
Date: 2008-05-26 08:56 pm (UTC)Photoshop will do it, as will many of the indexing programs. Or there are cgi scripts you can use on the web server side (so you don't have to regenerate the index each time you update the page). Or various fancier packages to install server-side, either on their own or as part of a blogging system. Dreamhost has Gallery on a one-click install, for example.
no subject
Date: 2008-05-26 08:58 pm (UTC)no subject
Date: 2008-05-27 02:42 am (UTC)Create a text file with the string "Options +Index" in it?
no subject
Date: 2008-05-27 02:44 am (UTC)no subject
Date: 2008-05-27 03:16 pm (UTC)Found a way!
Date: 2008-05-27 04:24 pm (UTC)Re: Found a way!
Date: 2008-05-27 05:28 pm (UTC)no subject
Date: 2008-05-27 01:59 pm (UTC)(echo '
'; ls *.jpg | sed -e 's/.*/- &<\/a><\/li>/'; echo '
') > index.htmlddb's way is better if you can get it to work, though.
no subject
Date: 2008-05-27 02:03 pm (UTC)Gah! Let me try that again:
no subject
Date: 2008-05-27 03:31 pm (UTC)I have no idea whether I can get to a Linux prompt on my domain hosting system, but if I can I'll use it. I wouldn't count on it, though. The user interface for my hosting service is a cumbersome GUI. If there's a Linux shell hidden in there, it's well hidden.
Did you just whip up that little script at a moment's notice, or is that something you had lying around? It's elegant.
no subject
Date: 2008-05-27 04:35 pm (UTC)no subject
Date: 2008-05-27 08:23 pm (UTC)It also takes me at least two tries every time I try to use the href thing in HTML. I don't know why, since it's really not that complicated. But if I'd tried to write that little one-liner from scratch it would have taken me all day. :-)
no subject
Date: 2008-05-27 05:27 pm (UTC)