On Friday 05 October 2007 00:44:14 Johan Vromans wrote:
> Leon Brooks GIMP <[EMAIL PROTECTED]> writes:
> > One possible/partial answer is to use some JavaScript to read
> > the window's dimensions & alter the width & height parameters
> > of the <IMG> tag to scale whatever you provide, so it fits.
> This will still cause the whole image (which may be large) to be
> downloaded.
> > To get really fancy, provide several different images & have
> > your JS select the closest fit & scale that.
> This would be a better option.
> -- Johan

This is not stictly "on topic" for this list but prepare a few different sized 
images and then,
if you are not familiar with getting screen and window property information,   
try loading this into your browser for getting screen properties - it should 
get you going - you might want to join a javascript list to help further:

<TITLE> Screen</TITLE>
<SCRIPT LANGUAGE='Javascript">
function displayScreenProperties() {
with(document)  {
 write("<B>height: </B>")
 write("<B>width: </B>")
 write("<B>colorDepth: </B>")

Gimp-user mailing list

Reply via email to