I wrote a simple perl based picture gallery for my website and I'd like to be able to scale down (zoom) large images that don't fit in the browser's window.
If I point internet explorer to an image url (a .jpg for example), it auto-sizes the image to the browser's window and then when you hover over it, it display a magnifying glass allowing you to toggle between actual size and the scaled down size.
My picture gallery shows items via html pages generated by my perl script and uses the
<img src="path to jpg">
tag (with no parameters) to display the image. The image is always displayed at full size so giant images are difficult to see and the magnifying glass described above is not available.
Is there a way, using CSS, to provide a zoom capability for a large image?