Tripod Home | New | TriTeca | Work/Money | Politics/Community | Living/Travel | Planet T | Daily Scoop
![]()
![]()
If you listen carefully, no matter where you are you can hear homepage builders crying for help. Building good home pages takes time, patience, knowledge, and a lot of help from your friends. Tripod's Homepage Dilemma gives you a chance to ask those late-night questions, get answers from other Tripod members, and to offer other homepage builders the benefit of your hard-earned knowledge.
this week's dilemma & responses
respond to this week's dilemma
Member dstewart submitted this week's dilemma: Some pages take forever to load, even if there's one graphic, while others are super fast, with multiple graphics. What gives? How can you make fast-loading, interesting graphic pages?
lubosh: There are two sides to the problem:
- receiving end = problem(s) with your side of the connection where you do not have sufficient speed to download the image(s). this might also relate to re-curring bottlenecks on your network, which might be regular/occasional. Ask you net manager.
- sending end = the Web server side. this is more likely the case, since you say some other pages load OK. This is most likely the size of the image(s) that you're loading. Sometimes large images in (2D) dimensions can be smaller in size than some with large 2D dimensions. People publishing on the web should indicate the size of images on their pages whenever they are over 100k.
Xaxis: To your Question: First of all, the speed the images are loaded (especially large ones) depends on many factors like the server they're on, the number of visitors loading the image, your modem speed, your server, the traffic, etc....
If you want your homepage images to load quickly regardless of the above, keep your images small (up to 150 x 150 pixels), and if they are linked outside your directory, make sure not too many sites use them at the same time. I also think JPG images load faster than GIF images. Other than that, look at the advice below....
Azazel: One thing you can do is use height and width tags for all of your images. Also, try to keep images small- if someone really has to see that picture in it's hugest form, let them load it separately. Pay attention to the file type. Is the image in the smallest format possible? Lastly, although it may seem obvious, really think about how many images you need on your page!
petshop: Its a broad question. Sometimes you may get slow down from pages from out of the country. More likely its probably the programmers fault. Even one graphic can be huge i.e. a JPEG can be anywhere from 1 pixel per sq inch to 1000+. so the graphic may have a lot of info in it (especially if its animated) If you had something specific in mind ask again, I'll answer it (or try to at least). Oh... get his book: designing web graphics by Weinman.
LCI: Besides making your graphics small, ALWAYS use width and height information. Browsers like Netscape cannot show the rest of the page and allow you to scroll down until it knows how much space to reserve on the screen for each image. But if you provide the height and width of each graphic, then the browser will reserve that much space for the image and allow the you to see the rest of the page before all the graphics have loaded. Okay, how to tell what the pixel width and height of your images? One way is in an image editor program. But if you don't have that, then just open the image in Netscape by itself (File|Open File in Browser) and the info will be on the Netscape title bar. Don't forget to provide this info even for small icons or buttons, or your page will be slow in loading. Cheers! ~LCI
ScottieH: It's quicker if you have all your pictures on your account. If you link to other pages for pictures it takes forever. See PasswordPirate: It depends on how many people are trying to access the page at the given time, since that changes. The only way to assure fast loading is to use a text only page, although then the page would probably suck. but people using lynx wouldn't care.
JPartridge: Some pages use JPEG (Joint Picture Experts Group) graphics, where some use GIF (Compuserve Graphic Image Format). The difference between the two formats is that the JPEG pictures are small and download quickly, where GIF files often are larger in size. The solution, GIF files should be used for small graphics and JPEG for the larger graphics. If you follow this advice, your page will be displayed quickly.
Dabox: all i can say is bigger better server. you need a fast connection and bandwidth to match to really get a load of graphics. some pages have slow server, and others don't.
dusk2dawn: It all comes down to what size and type of graphic you are using, or the type of browser you view the graphics with. Normally, smaller jpegs or gifs load quicker and faster than their larger versions. That's why you see a lot of pages with thumbnail or small versions to click on, to get their original size. Try experimenting with different sizes, you will really see a difference in overall speed.
kathylynn:
- JPEG files DO load faster than GIF files and since the compression is greater in the JPEG format, I recommend always using JPEG files.
- Keep the size of the graphics fairly small (200x200 pix).
- ALWAYS include the height and width info. in the "img src" tag.
- Only use graphics which relate to the content on the page and thus enhance the appearance of the page.
pgomez: Try using image compression. It really does work!
Sparky1: My input on the problem is this: When you write your HTML (and it would help if everybody did this), make sure all <IMG SRC> tags have a WIDTH and HEIGHT setting. This tells your browser how much space to leave for that image, and it can get on with other things (like loading text). Otherwise, your browser must wait until the picture is done loading before it can continue to display what is below that picture. You really notice this when you go to a page that has a large graphic at the top. It loads the graphic before anything else. With an <IMG SRC="image.gif" WIDTH=400 HEIGTH=400> (Or whatever dimensions looks best with that pic), you will notice that it leaves a large space at the top, but continues to display the text below it.
MrRight: start by viewing you page without graphics.. if it is faster.. the your picture is too big and need to be smaller.. either convert to JPG, or make them smaller bye decreasing your number of colors.. (Use PsP) Because some ppl may not be able to view but 16 colors..'also do not put a lot of reference links to get pictures from other servers, if that server is slow or down..you page will continuously wait for connection.. therefore slowing down the loading of your page..
DK8: There are a huge variety of gif making apps ...some produce less memory hungry files than others ... Go fishing
Pnut311: Make thumbnails for the pictures people might want to see bigger this way if they want to see it bigger they can wait later instead of when your page is trying to load up.
liad: Well, if you want your page to load quickly - you should not load graphics on the page from other servers, and if you really want it to work fast - don't even use a counter (unless you have a text counter).
That's all...
When you have some free time, enter my page.
repin: May be JPartridge is not quite right. This is strange, but commonly GIFs is shorter than JPEGs. Test your software. If you use freeware, then one has not permission to compress with Zip! May be you use uncompressed GIF? I am Web master and I had this problem at past.
Warhead: The reason is simple, the more colors the longer it takes to load, I f u have a gif with a lot of colors don't use it. try to keep all the gifs close to each other in colors.....Modem speed can also slow things up.
Hammack: Number 1 your modem speed is too slow, number 2 it depends on the speed of the server and what it has...like if I ran a server on Windows 95..it would be really slow..but It would fly with a 64-bit server with a good server program
bri: Make sure your image is indeed the size you specify in your WIDTH & HEIGHT attributes. Even though the resulting image can be resized down to a smaller size with these attributes, if the image file itself is huge, it will still take a long time to load. I have seen this problem many times with people who use HTML editors, specifically PageMill. PageMill will "resize" an image by squeezing a 300k (for example) image file into a 50x50 size that looks small, but the image file is still 300k and therefore takes forever to load. Also, the image can look distorted using this technique. You can use Photoshop or another image editing software to resize the image to the correct dimensions.
tdan: JPEG's are very good in small photograph quality pictures and the ability to resize the output without resizing the file.. but some pictures don't need 16million colors to get the point across the thing that a GIF can do that at least I have not been able to get a JPEG to do is the ability to reduce the color depth... some images... say line drawings can be saved in 256 color mode or even a 16 or 2 color mode a come up seriously smaller than their true color counter parts... if you experiment a little on disk with the various file methods and color depth's you can get a very small file for you pictures... the smaller the file the quicker it'll upload
PhreakEr7: Well, if you have AOL, there's the prob, he he, no.
jjanzen: Keep graphics to an absolute MINIMUM, keep them small and simple, use mostly TEXT on your site. After all, it should be the STEAK people want from your site, not the SIZZLE! TEXT = STEAK, glitzy GRAPHICS = SIZZLE (usually)
dagon: Hmm... You must be new to "the Web" anybody with a natural feel to computers could tell you that it depends on many factors...
- The format of the image- yes, JPEG's are smaller and load faster than almost any other format.
- The Speed of your modem.
- The speed of *YOUR* servers modem.
- The speed of *THEIR* servers modem.
- The amount of people accessing the page or that are accessing the other pages on that server at the same time can cause MAJOR slowdowns..
If you have any other questions mail- [email protected] or go to http://members.tripod.com/~dagon
Good Luck viewing pages. FOO.
taw: Some web authors add a height and width attribute to the images on their page. Although this only works in Netscape 3, it sets a "box" for the image to go in and all the fast-loading text comes up first, and the images load later. You can do this without altering the size of the image by finding out the size of the image in pixels in a graphics editor, then doing IMG SRC="blah.gif" HEIGHT="00" WIDTH=00 .
Map | Search | Help | Send Us Comments