"Since ancient times, I ca n’t keep it. Only Routines are popular." Everyone who sees this sentence will have different opinions. I think some people see the relationship between men and women. What is a very appropriate interpretation of "optimization"! And listen to the decomposition next time!
● Name of pictures
Naming pictures When uploading pictures on a website, we can name the pictures and add descriptive pictures. If we directly name pictures 1.jpg and pictures 2.jpg, such names are meaningless. If an image does not have any text information description on the webpage, then in the search engine results page, the name of the image will be used to display the image search results. The name of the visible image is still very important. For the name of the picture, you can also enhance the relevance of the page theme.
● Classification of pictures
Important pictures are built into an image channel. We concentrate all the information about pictures on the website on this picture page, and when creating such a page, the title of each picture page should not be repeated. It needs to be unique. We can also Adding a user comment on this picture can turn on the user comment function to keep the picture updated forever, which is also a relatively friendly approach for search engines.
● Add ALT attribute
Adding the ALT attribute to each image adds the ALT attribute to each image, which can improve the user experience. When the page image cannot be loaded for some reason, the text in the alt attribute of the image is displayed at the position of the image. The user knows what this unloaded picture is about. Second, it can strengthen the meaning of the picture.
● Picture link
Do some proper internal and external links for pictures. In addition to the links to the text page content, for pictures, we can do some links for them. When doing external links, do some external links for important picture pages. Link, so that in search engine ranking results, the picture ranking may be higher than others.
● Image compression processing
Compressing pictures and adding width and height attributes. For pictures, lossless compression should be performed without affecting the quality of the picture. The compression effect is very obvious, which can greatly improve the opening speed of the page and thus improve the user experience. Add the height and width attributes, so that when the webpage is loaded, the browser will leave a little space in advance according to the set height and width. It is not necessary to wait until the image is completely loaded before loading other components under the image, which improves the page. The number of parallel loading, thereby greatly improving the loading speed of the page.