From: Chris S. <chr...@ya...> - 2003-07-30 02:03:53
|
I'd love to see these incorporated into IDS. Chris --- timduru <ti...@ti...> wrote: > Hi , > Just thought I would send a small message about > some of the modifications I made, > well overall I'd like to say that IDS works quite > well and it's really very useful for my site :) > > Over the years I've made quite a few modifications, > I think a few users could be interested by some of > them. > Some are just bug fixes,speed optimizations, and a > few new features and enhancements. > > You can see the modified version running there: > http://fursuit.timduru.org/view/ > > It's based on 0.81 but it shouldn't be too difficult > to incoporate the modification made from 0.82 > > > I'm not even sure to remember everything I've > modified and to get a full list I would have to make > a more detailled diff with the original source code. > You know how it is, most of them were quick hacks > 'on the fly' but they work fine ;o) > > But I'll list some of the modifications I remember > of below: > > + exif problem, when an image had exif info into it, > the thumbnail was including the exif data and so > making it like 30KB too big. (that one was really > making dialup user yell ;o) ) > > + speed optimization in non date sorting mode, (as > it was sorting by date first even in name sorting > mode, and that can be quite slow on a few thousands > pictures directories) > From what I've tested it can be about 15x faster for > large albums if you don't sort by date. > 2x only if you sort by date. > > + a few 'software errors' problem fixed, like it > doesn't stop even if one picture is corrupted, but > keep displaying the albums. > > + pretty url system > that one needed quite some rewriting all around in > the code, but that was one of the biggest complaint > I was getting from the users: that the urls were not > really friendly. > with the new system the url is just like browsing > regular directories > and you can just append ',imagename' to see an > image. > (have a look at the online site) > > + possibility to just put a file in an html file in > the directory corresponding to an album, so that the > content is included and displayed in the album > (it's useful to me as I allow both the image archive > to be browsed by IDS and raw apache directories, I > then configured apache to display the same html file > IDS is now using as the header of the directory, so > I don't have to enter the comments twice) > > + CGI::Cache compatible to speed up things, (well > it's not configurable it's either include the code > or comment it so far, but it's located at the very > beginning of the code) I've tested it for some time > and it worked quite well and were making things > faster. > But I then removed it as I update my page quite > often, so having it cached too much was not the best > in my case. > > + added the display of the first filename of a > subpage after the page1...2..3.. at the bottom of > the album > + added next and prev page links > + search function was not working with symlinks > + cookie changed a bit to make it work with multiple > virtual hosts, seems to be working , but might need > some more debugging .. > > some of the modifications / features are in the > config file, some others would need some more > cleaning to be incorporated. > > It might also need some customization for general > use as some of them are quite focused on the way I > use it for my site. > > Well let me know if there is some interest in all > these modifications. ;) > > Timduru __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |