Methods and techniques for quickly displaying web page images

Methods and techniques for quickly displaying web page images

1. Use .gifs rather than .jpgs. GIFs are smaller in size when compared to JPGs.
1. Save images in .gifs format, preferably not .jpgs format. Because the former is smaller in size than the latter.
2. Use 'Height' and 'Width' tags for your images. So while page loading certain place is left for the images and visitor can go through the content while images are loading.
2. Set the image using height and width tags. In this way, the web page can reserve space for the image, and visitors can browse the web page content while the image is downloading.
3.If you are using large images, slice them up and make them load as part after part. For this you can use img tags like HSPACE=0 and VSPACE=0.
3. If you are using a large picture, split the picture and download each part in turn. In this case, you can use image tags with HSPACE=0 and VSPACE=0.
Methods and techniques for quickly displaying web page images_123WORDPRESS.COMjb51.net
Optimized image (gif format, sliced ​​to two parts, with width and height tags, HSPACE=0 and VSPACE=0): Optimized image (gif format, set width and height, HSPACE=0 and VSPACE=0)
4. Use image compression software that reduce image size. Remember, the more you reduce your image size more will be the loss of quality.
4. Use image compression software to reduce image size. Remember: the smaller the image size, the lower the quality. You can log in to the following two websites to obtain relevant information and software:
http://www.spinwave.com/index.html
http://www.macromedia.com/software/fireworks/
5.If you have a lot of images to display, then put them on different pages by linking the pages like 'Next Image >' or something like that instead of a long page with 10 images.
5. If there are a lot of pictures to display, you can use a link to the web page, such as: "Next page" or other similar content. Pictures should be arranged on different web pages. Don't put 10 pictures on one web page.
6. Use the same image over and over again if you need a similar image. Like if you are keeping a big header graphic on every page of your web site. Then use the same graphic to link to all pages on your web site.
6. You can use a picture repeatedly if necessary. For example, you can set the same large picture in the header of all web pages and use this picture to link all the web pages of the website.
7. Flash presentations, mouse overs, animations etc increase page download time. So if you can use html instead of these, go with it.
7. Flash, mouse overs, animations and other content will increase the download time of the website, so it is best to replace these contents with HTML.

<<:  The concept and characteristics of MySQL custom variables

>>:  CSS shadow animation optimization tips

Blog    

Recommend

JS realizes simple picture carousel effect

This article shares the specific code of JS to ac...

Vue implements card flip carousel display

Vue card flip carousel display, while switching d...

How to optimize MySQL index function based on Explain keyword

EXPLAIN shows how MySQL uses indexes to process s...

HTML+CSS+JavaScript to create a simple tic-tac-toe game

Table of contents Implementing HTML Add CSS Imple...

Realizing the effect of carousel based on jQuery

This article shares the specific code of jQuery t...

Using cursor loop to read temporary table in Mysql stored procedure

cursor A cursor is a method used to view or proce...

Summary of the three stages of visual designer growth

Many people have read this book: "Grow as a ...

Chinese and English font name comparison table (including Founder and Arphic)

In CSS files, we often see some font names become...

How to add shortcut commands in Xshell

As a useful terminal emulator, Xshell is often us...

JavaScript mobile H5 image generation solution explanation

Now there are many WeChat public account operatio...

Why not use UTF-8 encoding in MySQL?

MySQL UTF-8 encoding MySQL has supported UTF-8 si...

MySQL slow query optimization: the advantages of limit from theory and practice

Many times, we expect the query result to be at m...