Pictures

Jul. 1st, 2002 05:06 pm
ewx: (Default)
[personal profile] ewx
http://www.greenend.org.uk/rjk/photos/2002-07-01/

(Some by me, some by LNR.)


(comments locked due to excess spam which for some reason targets this article in particular.)

(no subject)

Date: 2002-07-02 06:47 am (UTC)
From: [identity profile] nassus.livejournal.com
Ooh that was quick *grin* - thanks. Maybe you can show antinomy how to do them that quickly. It's a lot easier when you want to go back and look at something especially when your link is a bit slow.

I used ImageMagick.

Date: 2002-07-02 06:57 am (UTC)
ext_8103: (penguin)
From: [identity profile] ewx.livejournal.com

To generate the thumbnails:

for x in dcp*; do echo convert -scale 10% $x ${x/dcp/t}; done|sh

(leave off the |sh to check that the commands are sane)

To generate the text that goes in the index page:

identify t*| perl -ne '/(\d+\.jpg).*JPEG (\d+)x(\d+)/ && print "<a href=\"dcp$1\"><img src=\"t$1\" width=$2 height=$3></a>\n"'

You have to put all the rest of the HTML markup you need around the output of that. Adapt according to the filenames you've actually got, etc.

November 2025

S M T W T F S
      1
2345678
91011121314 15
1617 181920 2122
23242526272829
30      

Most Popular Tags

Expand Cut Tags

No cut tags