From: John M. <mo...@mu...> - 2001-03-09 01:21:17
|
IDS 0.6a9 is now available: http://arwen.hn.org/~john/ This one includes some changes to the functions that generate album thumbnail icons. First, I fixed the bug reported by Caleb. I then replaced the simple one-level deep image searching function with a File::Find function that will find all of the images in every subdirectory and choose one randomly. (I don't notice any speed difference.) This eliminates the need to manually create icons for albums that contain only other albums. The album's icon is now visible on every album's page in the admin CGI, as is a button that will randomly pick another image for that icon. Known bug (since a8): When a user's preferred sort method is "date" and they open an album for the first time, the album's contents all show up with a date in 1969. Any ideas? I suspect that it has something to do with when the fillDateHash function is called. The mod_perl install was too much for me. Caleb, let me know how I can help with the code cleanup. I did notice that IDS now runs under "use strict;" rather than "use strict qw(vars);" and the index script can run with taint mode turned on. John |