Re: HTML graphics

Subject: Re: HTML graphics
From: Chuck Martin <cmartin -at- SEEKERSOFT -dot- COM>
Date: Fri, 3 Oct 1997 17:21:26 -0700

Actually, the HEIGHT= and WIDTH= attributes do both.

If you have, for example, a 100 pixel by 100 pixel graphic and you reference
it as <IMG SOURCE=graphicname HEIGHT=50 WIDTH=50>, the graphic will appear
half its size on the page, in the 50x50 pixel space.

Of course, if you don't get the proportions right, it will create for
interesting deformations. And the full graphic itself still has to be
transferred from the server to the browser. It just appears within the
designated space.
--
"You don't look American"
"Everyone looks American, because Americans are from everywhere"
- Doonesbury
Chuck Martin
Technical Writer, Seeker Software, Inc. | Personal
cmartin -at- seekersoft -dot- com | writer -at- grin -dot- net
www.seekersoft.com | www.grin.net/~writer
-----Original Message-----
From: Matt Ion <soundy -at- rogers -dot- wave -dot- ca>
To: TECHWR-L -at- LISTSERV -dot- OKSTATE -dot- EDU <TECHWR-L -at- LISTSERV -dot- OKSTATE -dot- EDU>
Date: Friday, October 03, 1997 5:06 PM
Subject: Re: HTML graphics


>On Fri, 3 Oct 1997 14:45:22 -0700, Chuck Martin wrote:
>
>>> I took the advice of a message I found on last week's list. We have
>>> tested using HTML Transit to convert MS Word files to HTML pages.
>>> However, we're having a problem with some graphics coming in too
>>> large.
>>>
>>Use the HEIGHT= and WIDTH= attributes of the IMG tag, specifying values in
>>pixels.
>
>HEIGHT and WIDTH will tell the browser what the size of the image will
>be, so it can pre-allocate the screen space. Unless it's something
>that's been added to the newest browsers, I DON'T believe these
>attributes will tell the browser to actually paint the image that size.
>
>
> Your friend and mine,
> Matt
> <insert standard disclaimer here>
> --------------------------------------------------------------------------
--
>
> Wilderness of mirrors, streets of cold desire
> My precious sense of honor, just a shield of rusty wire
> I hold against the chaos, and the cross of holy fire...
> - Rush, "Double Agent"
>
> TECHWR-L (Technical Communication) List Information: To send a message
>to 2500+ readers, e-mail to TECHWR-L -at- LISTSERV -dot- OKSTATE -dot- EDU -dot- Send commands
> to LISTSERV -at- LISTSERV -dot- OKSTATE -dot- EDU (e.g. HELP or SIGNOFF TECHWR-L).
> Search the archives at http://www.documentation.com/ or search and
>browse the archives at http://listserv.okstate.edu/archives/techwr-l.html
>

TECHWR-L (Technical Communication) List Information: To send a message
to 2500+ readers, e-mail to TECHWR-L -at- LISTSERV -dot- OKSTATE -dot- EDU -dot- Send commands
to LISTSERV -at- LISTSERV -dot- OKSTATE -dot- EDU (e.g. HELP or SIGNOFF TECHWR-L).
Search the archives at http://www.documentation.com/ or search and
browse the archives at http://listserv.okstate.edu/archives/techwr-l.html


Previous by Author: Re: HTML graphics
Next by Author: Fw: Non-compete clause query
Previous by Thread: Re: HTML graphics
Next by Thread: Re: HTML graphics


What this post helpful? Share it with friends and colleagues:


Sponsored Ads