| Text Only Version :: Site Map :: Email Login :: Help :: Feedback :: Discussion Forums :: |
You are in: School Web Sites » School Web Sites » Using Images » How not to use images |
How not to use images
Within a web page it's possible to resize an image using the HEIGHT= and WIDTH= attributes. For example, a 2 megabyte image which is 3000 x 2000 pixels in size (which would take a long time to download) could be made much smaller by entering something like <img src="/learning_centres/mybigimage.jpg" height="150" width="100">. This would appear on the screen as 150 x 100 pixels but would still be as slow to download - because the whole 2 megabyte file still needs to be downloaded by the user. It would be a much better idea to have a thumbnail with a link to the full size image, perhaps with some text indicating that the link is to a large image and hence will be a slow download. Something like <a href="mybigimage.jpg"><img src="/learning_centres/mybigimage_thumb.jpg" height="150" width="100" border="0"></a> would work fine in this instance.
|
|||||||||||||||