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

Recommend

Example of using JSX to build component Parser development

Table of contents JSX environment construction Se...

Sample code for deploying ELK using Docker-compose

environment Host IP 192.168.0.9 Docker version 19...

Several common methods of CSS equal height layout

Equal height layout Refers to the layout of child...

In-depth analysis of HTML semantics and its related front-end frameworks

About semantics Semantics is the study of the rel...

js to realize web message board function

This article example shares the specific code of ...

Mysql master-slave synchronization configuration scheme under Centos7 system

Preface Recently, when working on a high-availabi...

Docker file storage path, get container startup command operation

The container has already been created, how to kn...

Simple CSS text animation effect

Achieve results Implementation Code html <div ...

Do not start CSS pseudo-class names with numbers

When newbies develop div+css, they need to name t...

Problems encountered when updating the auto-increment primary key id in Mysql

Table of contents Why update the auto-increment i...

Docker Detailed Illustrations

1. Introduction to Docker 1.1 Virtualization 1.1....

How to deploy gitlab using Docker-compose

Docker-compose deploys gitlab 1. Install Docker I...

MySQL DATE_ADD and ADDDATE functions add a specified time interval to a date

MySQL DATE_ADD(date,INTERVAL expr type) and ADDDA...