Notes on downloading and preparing photographs (For gphoto, now deprecated.) With kernel 2.2.16 USB patches, the camera is on char-major-180-80 (minor 80). However, the module dc2xx is commented out due to the way gphoto2 operates. If one were using the module, it's necessary to do "modprobe dc2xx" as root because for some reason aliasing is ineffective, or there's a timing problem or something with gphoto. Plug the USB cable into the computer and the camera. Turn the camera's mode switch to "connect". Turn on the camera. Console should report USB initialization ending with "USB Camera #0 connected". (If you turn the camera off, then on again, the stupid module thinks it's camera #1, presumably minor device 81, and /dev/camera doesn't point to it. Before rebooting the camera do "modprobe -r dc2xx", then "modprobe dc2xx" again. Make a directory for the images. Recommended is ~/images/$topic/orig (the edited images will end up in ~/images/$topic). cd to that directory, and execute gphoto. (This is v0.4.3.) It should report "tcgetattr: Inappropriate ioctl" and "Assuming USB connection". Download the thumbnail index (under Camera, or the toolbar icon). Select all images (or just the ones you want). Then: Camera - Download selected - Images - To disc. It will ask you for a prefix such as xyz, in which case the images will be called xyz-001.jpg, etc. Full size images vary in size but 120-150 Kb is typical. If you download only a few images they will even so have their frame numbers according to their ordinal position in the camera's memory. The convention is to pick descriptive words for categories, such as wedding, dance, dinner, cake, and to rename the images, with no leading 0's. Groups of 4 fit best in the standard index format. While gphoto is still running you can do "ls -1 *.jpg > xref.txt" and then edit that file with the new name and a description of the image, using gphoto's thumnail images or, if necessary, viewing at full size. (Or use gimp which auto-scales full size images to the screen size.) Then copy the cross reference, remove the descriptions, and prepend "mv -i" to each line giving, e.g. mv -i dc-009.jpg wedding-1.jpg Make a directory "orig" and move all the jpeg files into it. Then: cd orig foreach f (*.jpg) cp $f ../${f:r}e.jpg end (The ending "e" stands for "edited".) This gives names like wedding-1e.jpg. Use gimp to edit the images. You need to shrink the "e" image to 768x500 (to fit comfortably in a browser on a 800x600 screen), and then shrink it again to give a thumbnail image of 180x135 (so four will fit across the screen). The thumbnail is named by changing "e" to "t". Do any jiggering after shrinking to 768x500, to save computation. Procedure: Main - File - Open (or ^O), double click on "e" file. It opens in a new window. (Right click) - Tools - Crop - (or hit the knife thingy in the main panel). Drag out a rectangle with the left button; adjust by dragging the corner boxes. Hit "Crop" in the dialog box to do it. (Right click) - Image - Scale - enter width 768 (pixels) for a wide image or 500 for a high one. (An uncropped image scales to 768x509.) (Right click) - File - Save (or ^S) to save the image. Take defaults. Scale it again to thumbnail size. (Right click) - File - Save as; click on the "e" name but change to "t". Close the image window. In the containing directory is a file ../index.pl. Copy your notes file again. Arrange the content in the desired order, then remove comments and edit it to say something like this (take the defaults for -t, -c, -d): ../index.pl \ -h '%t
' \ wedding-5e.jpg wedding-5t.jpg \ wedding-3e.jpg wedding-3t.jpg \ etc. etc. Then: sh filename > index.html Edit the resulting file adding suitable boilerplate around the content. See any of the index.html files for copy source. Within the content area, the above -h is designed for use in 4-across tables, like this:

The Wedding

(four content units) (more content units -- if you have less than four, fill out with empty cells:)
When finished you can run gphoto again (see above about reloading the USB drivers) and delete the images from the camera. Select the unwanted images and hit the Trash icon, or use Camera - Delete - All Images (or Selected Images).