Of picturesSEO website optimization(www.sino web. net) is one of the most important parts of website search engine optimization.yesWebsite productionSEO/SEO will not only bring more additional traffic to the website, but also bring visitors a better user experience.This article summarizes 16 techniques that need attention in image optimization.
1. Add keywords to the alt tag (replace text) of the image, which is the most important point in image SEO.
2. The standard image embedding code should include five key tags: src, width, height, alt, and title.Alternate text (alt) is intended to provide a text description for those who cannot see the images in your document.The title is a description and additional supplement to the image. If you need to use a text prompt when the mouse passes the image, you should use the attribute title.The general alt tag is the most critical.
3. Give your picture a descriptive file name containing your target keywords.If you have a picture about a cute parrot, you should use a descriptive file name such as parot.jpg instead of a code name such as t123.jpg. Of course, you can also make the file name of the picture the same or consistent with the content in the ALT tag.Don't casually use the name pic1234.jpg, but the more descriptive name cute-parrot.jpg.
4. Pictures must be related to the content of the page: browsing pictures is not the first thing for visitors to visit the page, but it will make visitors stay on the page longer.(According to the research results of eye tracking, when browsing the web, words take precedence over pictures, but when looking at printed articles, people will look at pictures first. Although people will look at the words on the page first when looking at the web, pictures will make them stay longer and have a deeper impression on the page.)
5. Add relevant information around the picture.If you use Google to search for images, it is not difficult to find that there will be a descriptive text under each image, in which the keywords are displayed in bold.Google Image Search determines the content of an image by analyzing the text, image title, and many other elements near the image on the page.Therefore, adding descriptions containing keywords around images will optimize the ranking of website images in search engines.
6. Links to pictures should include keywords.
If you use a hyperlink to open an image, the name of the hyperlink should include the keywords of the image. For example, if you want to link to a picture of a cute parrot, you should not use link words such as "click to get full size", but try to use naming forms such as "cute parrot".
7. Use Tag to label the picture.When using image storage services such as flickr, it is better to tag images.
8. Ensure that images can be captured by search engines.Set the robots.txt file of the website to ensure that the image file can be crawled by the search spider.Remember not to use javascript to link image files.If you do that, search engines will not be able to retrieve your image documents.
9. It is unnecessary to optimize all the pictures on your website.For example, images used in templates, images in navigation, and background images, we don't need to add ALT tags to these images. We can put these images in a separate folder.And set the robots.txt file to prevent spiders from grabbing these pictures.
You can set all spiders to be prevented from grabbing these pictures:
User-agent: *
Disallow: /Images
You can also only prevent Google image search spiders from crawling:
User-agent: Googlebot-Image
Disallow: /Images
10. Avoid duplicate pictures.For example, an image on your website exists in three forms: a smaller image, a medium-sized image, and a larger image.Then, don't let all three pictures be indexed.The best way to deal with this situation is to use the robots. txt file to tell the spider not to crawl the image version you do not want to be indexed.
11. The number of pictures on each page should be as small as possible.
12. Pay attention to the size of the image to adapt to the search engine. For example, if you link to a wallpaper, the size of the wallpaper should meet the specifications.Because Google, Baidu and other image searches provide search based on image size.
13. Update pictures frequently.If your image has not changed for a long time (the image size, image file size, image location and image name have not changed), its ranking may be lowered, because search engines will suspect that the image content is outdated.
14. Use Google Webmaster enhanced image search function.Enable the enhanced image search function. Google will use Google Image Labeler and other tools to associate the images contained in your website with tags to optimize the indexing of these images and improve the search quality.
15. Image theft is a problem that is difficult to avoid.We can add some words to each picture, such as "photo by www.yesky. com", "image by www.yesky. com", and so on.Although not completely stop stealing, at least if others want to use your picture, they will have to spend time to re edit it.
16. Check the pictures indexed by the search engine.In order to check whether the optimization method for website images is successful, it is necessary to monitor the collection rate of website images by search engines.The method is to//images.google.cn/Enter in the search column (replace www.sino-web.com with the domain name you need to query).Other search engines also have this function.