I have a photo album organised in HTML. I don’t want to publish it on the web, the pictures are far too large. The idea is to carry it around on CD. I have found that IrfanView is great for creating slide shows, and I would love to put a “slide show” link on the pages of my album that starts IrfanView. I have found that the following HTML will successfully start IrfanView from the root of the CD.
The trouble is, IrfanView really needs parameters to tell it to load a slideshow: \i_view32.exe /slideshow=\2003\lakes\cat.sli /one /fs /closeslideshow but if I put this in the HREF, the browser interprets it as one long file name. Any ideas on how I can start a program with parameters from a link in a web page? Alternatively, does anybody have a better idea for running a slide show within HTML? The slide show is just a “nice to have” extra, so I am happy enough to say that it will only run on Windows machines. I am looking more at JavaScript now, but IrfanView did seem to do all that I wanted with very little effort.
Associate the file extension with Irfan view in Windows and then when you link to a file that ises that program it should launch it and the program at the same time. The same as when you click ona pdf link it opens the pdf viewer program. Alternatively you could use a javascript thing to show the images or even just use the Windows image viewer.