Is there any easy way to fit an image/plugin within the viewer window?
As in, say, I want the image to resize proportionally, maintaining a certain prescribed minim amount of margin from each of the four viewer boundaries. Or, alternatively, say I want the image to be either 80% wide and/or 80% high, always resizing proportionally, and maintaining these conditions even if the window is resized?
I don't think I do a good job of explaining what I mean, but I hope you get the idea. So Basically a "fit within" / "auto resizing" within prescribed area, but maintaining aspect ratio, and supporting dynamic resizing of the viewer window.
Cheers,
Florian