当前位置:首页-诺商动态

如何帮助网站图片更好的被抓取?

来源:www.lushangyun.cn 时间:2019/04/29

企业在网站建设时,很多同时也做了手机端的网站,为了丰富网站的版面和内容,给网站添加了大量的图片做美化。网站的图片是一个网站能给用户更直观的信息表现,而对于搜索引擎而言,蜘蛛在随机抓取网站图片时候的识别能力还没有那么强。如果文字很少,图片很多也会给手机端网站SEO优化带来一定的困难。不过,随着搜索引擎算法的不断成熟,现在百度也能抓取网站的图片,

Enterprises in the construction of the website, many also do mobile website, in order to enrich the layout and content of the website, add a lot of pictures to the website to beautify. Pictures of a website can give users the most intuitive expression of information. For search engines, spiders have not been so good at recognizing pictures of a website at random. If there are few words, many pictures will also bring some difficulties to optimize the mobile website SEO. However, as search engine algorithms continue to mature, Baidu can now grab pictures of the site.

长清网站优化

例如:网站的LOGO、以及和文章主题相关的图片等等。小编经过长时间的观察,总结出了以下六种方法,协助我们优化网站和手机端的图片,以达到优化友好,迅速被录入的作用。
For example: the LOGO of the website, and the pictures related to the topic of the article and so on. After a long period of observation, the editor summarized the following six methods to help us optimize the pictures on the website and mobile phone, in order to achieve the function of optimizing friendliness and being input quickly.
一、不要盗用图片尽量原创
First, do not embezzle pictures as original as possible
尽量自己做图片,有很多免费的图片素材,我们可以通过拼接,做出我们需要的图片。在平时工作的时候,发现和自己网站相关的图片可以先保存下来,在本地做出分类和标记。网站需要图片的时候,看看相关的图片,自己着手做一个图片。这是一个长期积累的过程,随之时间的增加,自己的素材量也会越来越大。熟练了再做图片就得心应手了。再这里特别要注意,现在很多图片是有版权的,一点不要去使用那些有版权的图片,不然不光会侵权,还会让搜索引擎降低对你网站的信任值。
Make your own pictures as much as possible. There are many free pictures. We can make the pictures we need through stitching. When working in peacetime, I found pictures related to my website can be saved first and classified and marked locally. When the website needs pictures, look at the relevant pictures and start making a picture by yourself. This is a long-term accumulation process, with the increase of time, the amount of their own material will become larger and larger. If you are skilled in making pictures, you will be comfortable. Again, we should pay special attention to the fact that many pictures are copyrighted now. Don't use those copyrighted pictures at all. Otherwise, they will not only infringe upon the copyright, but also let search engines reduce the trust value of your website.
二、网站图片保存路径
II. The Path of Picture Preservation on Website
这个问题很多站长都没有注意,图片在传到到网站的时候,尽量把图片保存在一个目录下面,或者根据网站栏目做好相应的图片目录,上传的时候路径要相对固定,方便蜘蛛抓取,蜘蛛在访问到这个目录的时候就会“知道”这个目录里面保存的是图片;图片文件命名更好使用一些有规律的或者意义的方法,可以使用时间、栏目名称或者网站名称来命名。
Many webmasters do not pay attention to this problem. When the picture is sent to the website, try to save the picture under a catalog, or make a corresponding picture catalog according to the website column. When uploading, the path should be relatively fixed, which is convenient for the spider to grasp. When the spider visits the catalog, it will "know" that the catalog contains the picture; when the picture file is named, the spider will "know" that the catalog contains the picture. It's best to use some regular or meaningful methods, using time, column name or website name to name.
三、图片周围要有相关文字
3. The pictures should be surrounded by relevant words.
文章的开头就说了,网站图片是能把信息直接呈现给用户一个方法,搜索引擎在抓取网站内容的时候,也会检测这篇文章是否有配图、视频或者表格等等,这些都是可以增加文章分数值的元素,其他的几个形式暂时不表,这里我们只说说关于图片周围相关文字的介绍。
At the beginning of the article, we said that website pictures are a way to present information directly to users. Search engines will also detect whether the article has matched graphs, videos or tables when they grab the content of the website. These are elements that can increase the score value of the article. The other forms are not listed for the time being. Here we just talk about the introduction of the relevant text around the picture. Shao.
四、图片添加alt、title标签
IV. Adding ALT and title tags to pictures
许多站长在添加网站图片时可能没有留意这些细节,有的可能觉得麻烦,希望大家千万别有这种想法,这是大错特错的。搜索引擎抓取网站图片的时候,atl标签是它首先抓取的,也是识别图片内容更重要的核心因素之一,图片的alt属性是直接告诉搜索引擎这是啥网站图片,以及这张要表达什么意思;title标签是用户指向这张图片的时候,会显示的提示内容,这是增加用户体验度和增加网站关键词的一个小技巧。

Many webmasters may not pay attention to these details when adding website pictures, and some may feel troubled. I hope you don't have this idea. This is a big mistake. When the search engine grabs the website picture, the ATL tag is the first one it grabs, and it is also one of the most important core factors to identify the content of the picture. The alt attribute of the picture tells the search engine directly what the website picture is and what the meaning of the picture is to express. The title tag is the prompt content that will be displayed when the user points to the picture, which increases the user's experience and increase. A little trick for website keywords.

长清网站优化

还有就是这两个属性,会给有阅读障碍的访问者提供访问的便利,例如:有盲人在访问你网站的时候,他看不到屏幕上的内容,可能是通过读屏软件来阅读的,如果有alt属性,软件会直接读出alt属性里的文字,给他们的访问提供方便。
There are also these two attributes, which will give visitors with dyslexia access convenience. For example, when a blind person visits your website, he can not see the content on the screen. It may be read through the screen reading software. If there are ALT attributes, the software will directly read the text in the ALT attributes to facilitate their access.
五、图片的大小和分辨率
V. Size and Resolution of Pictures
尽管两者看起来有些相同,但还是有很大的差别,相同大小的图片,分辨率更高的话,网站更终体积也会越大。这一点大家要搞清楚。网站的上的图片,一直以来都提倡用尽量小的图片,去更大化呈现内容。为什么要这样呢?
Although they look the same, there are still big differences. The larger the image of the same size and the higher the resolution, the larger the final size of the website will be. We should make this clear. Pictures on the website have always advocated using as little pictures as possible to maximize content presentation. Why?
因为小尺寸的图片会加载的更快,不会让访问者等待太久,特别是手机访问的时候,由于手机上网速度和流量的限制,用户更愿意访问能立即打开的页面,小尺寸图片就更有优势了。在这里我们尽量做好平衡,在图片不失真的情况下,尺寸更好尽量的小。
Because small-size images will load faster and won't let visitors wait too long, especially when mobile phone visits, because of the speed and flow limitations of mobile phone Internet access, users are more willing to access pages that can be opened immediately, small-size images have more advantages. Here we try to make a good balance, in the case of image distortion, the best size is as small as possible.
现在有很多在线给图片瘦身的工具,各位站长可以去尝试一下,把网站的图片适当的压缩一下,一方面可以减少你服务器带宽的压力,另外还能给用户有流畅的体验。
Now there are many online tools for image thinning, webmasters can try to compress the pictures of the website properly, on the one hand, it can reduce the pressure of your server bandwidth, on the other hand, it can also give users a smooth experience.
六、手机端自动适应
6. Mobile terminal automatic adaptation
很多站长都遇到过网站在电脑访问图片显示很正常,可是从手机端就会出现错位等等情况,这就是大尺寸的图片给不同尺寸的终端造成错位和显示不全的情况。其实这个问题很好解决,在添加图片的时候宽高更好不要使用绝对大小,使用百分比就解决了。具体说,CSS代码不能指定像素宽度:width:xxxpx;只能指定百分比宽度:width:xx%;或者width:auto就可以了。这样做的目的也是为了让百度的移动蜘蛛抓取的时候有个良好的体验,这也是为了更符合百度移动落地页体验。
Many webmasters have encountered the normal display of pictures in computer visits, but there will be dislocation from the mobile terminal and so on. This is the situation that large-scale pictures cause dislocation and display incomplete for different size terminals. In fact, this problem is very good to solve. When adding pictures, width and height should not use absolute size, and the percentage of use will be solved. Specifically, CSS code can't specify pixel width: width: xxxpx; it can only specify percentage width: width: xx%; or width: auto. The purpose of doing this is also to make Baidu mobile spider have a good experience when grabbing, which is also in order to better meet the Baidu mobile landing page experience.
以上介绍了在网站SEO优化如何抓取手机网站图片的一些技巧,其实本质就是为了给用户更好的访问体验。你做网站的时候本着这个目的,相信搜索引擎一定会青睐你的网站。
This article introduces some techniques of how to grab pictures of mobile website in website SEO optimization. In fact, the essence is to give users a better access experience. When you do the website with this purpose, I believe that search engines will favor your website.

长清网站建设哪家好