Kaishain
07-01-2005, 04:11 AM
I'm not sure exactly which forum I should put this thread in, so I've put it in here for now.
I'm working on an intranet site which needs to display some pictures that are too big to fit on one page without scrolling around all over the place. Speaking to some of the people who are going to be using the site, I've decided it's better to show the image and let users zoom in and out, rather than just show the full-size image and have them scroll around it.
I want to put a thumbnail of the large picture on the site and then, when the user clicks on the thumbnail, have it open up a program (like the Windows Picture and Fax Viewer with a built-in zoom function) on the user's computer to show the full size image so they can zoom in and out as much as they want.
I can put a hyperlink in the page like this:
<A HREF="C:\WINNT\Notepad.exe">Notepad</A>
(Provided they're using WindowsNT, which they are) this hyperlink will display the word 'Notepad' and, when you click it, will open the Notepad program. I could do the same thing with Windows Picture and Fax Viewer, but it's not quite good enough. See, the link will only open a blank Notepad document or an empty Windows Picture and Fax Viewer window, but I want it to open and display the picture on the page as well. Maybe there's a way of adding an argument onto the hyperlink to say "Open the program, then make the program open the picture". I dunno.
There are probably some long and complicated scripts out there which build a zoom function into the web page, but I can't find them and I wanted to keep the pages fairly simple (i.e. static HTML pages that the users can easily edit themselves, considering I won't be here to maintain the site for them once it's built). I guess I'll have to settle for something like this if nothing else works though.
Someone made this (http://www.webdeveloper.com/forum/showthread.php?t=69770&highlight=link+program) thread a while ago which sounds like a similar thing, but I'm not sure exactly what he was getting at.
So, if you know of a way of making a picture-hyperlink open a program on the browser's computer or you have a better way of displaying the pictures, I'd appreciate you letting me know.
I'm working on an intranet site which needs to display some pictures that are too big to fit on one page without scrolling around all over the place. Speaking to some of the people who are going to be using the site, I've decided it's better to show the image and let users zoom in and out, rather than just show the full-size image and have them scroll around it.
I want to put a thumbnail of the large picture on the site and then, when the user clicks on the thumbnail, have it open up a program (like the Windows Picture and Fax Viewer with a built-in zoom function) on the user's computer to show the full size image so they can zoom in and out as much as they want.
I can put a hyperlink in the page like this:
<A HREF="C:\WINNT\Notepad.exe">Notepad</A>
(Provided they're using WindowsNT, which they are) this hyperlink will display the word 'Notepad' and, when you click it, will open the Notepad program. I could do the same thing with Windows Picture and Fax Viewer, but it's not quite good enough. See, the link will only open a blank Notepad document or an empty Windows Picture and Fax Viewer window, but I want it to open and display the picture on the page as well. Maybe there's a way of adding an argument onto the hyperlink to say "Open the program, then make the program open the picture". I dunno.
There are probably some long and complicated scripts out there which build a zoom function into the web page, but I can't find them and I wanted to keep the pages fairly simple (i.e. static HTML pages that the users can easily edit themselves, considering I won't be here to maintain the site for them once it's built). I guess I'll have to settle for something like this if nothing else works though.
Someone made this (http://www.webdeveloper.com/forum/showthread.php?t=69770&highlight=link+program) thread a while ago which sounds like a similar thing, but I'm not sure exactly what he was getting at.
So, if you know of a way of making a picture-hyperlink open a program on the browser's computer or you have a better way of displaying the pictures, I'd appreciate you letting me know.