{"id":80,"date":"2011-03-16T11:33:51","date_gmt":"2011-03-16T11:33:51","guid":{"rendered":"http:\/\/hackeryu.in\/?p=80"},"modified":"2011-03-16T11:33:51","modified_gmt":"2011-03-16T11:33:51","slug":"how-to-make-and-add-a-small-icon-on-the-browser-front-favicon-ico-production","status":"publish","type":"post","link":"https:\/\/hackeryu.in\/?p=80","title":{"rendered":"\u600e\u4e48\u5236\u4f5c\u548c\u6dfb\u52a0\u6d4f\u89c8\u5668\u524d\u9762\u7684\u5c0f\u56fe\u6807\uff1ffavicon.ico\u5236\u4f5c"},"content":{"rendered":"<p>\u6240\u8c13favicon\uff0c\u5373Favorites Icon\u7684\u7f29\u5199\uff0c\u987e\u540d\u601d\u4e49\uff0c\u4fbf\u662f\u5176\u53ef\u4ee5\u8ba9\u6d4f\u89c8\u5668\u7684\u6536\u85cf\u5939\u4e2d\u9664\u663e\u793a\u76f8\u5e94\u7684\u6807\u9898\u5916\uff0c\u8fd8\u4ee5\u56fe\u6807\u7684\u65b9\u5f0f\u533a\u522b\u4e0d\u540c\u7684\u7f51\u7ad9\u3002\u5f53\u7136\uff0c\u8fd9\u4e0d\u4ec5\u4ec5\u662fFavicon\u7684\u5168\u90e8\uff0c\u6839 \u636e\u6d4f\u89c8\u5668\u7684\u4e0d\u540c\uff0cFavicon\u663e\u793a\u4e5f\u6709\u6240\u533a\u522b\uff1a\u5728\u5927\u591a\u6570\u4e3b\u6d41\u6d4f\u89c8\u5668\u5982FireFox\u548cInternet Explorer (5.5\u53ca\u4ee5\u4e0a\u7248\u672c)\u4e2d\uff0cfavicon\u4e0d\u4ec5\u5728\u6536\u85cf\u5939\u4e2d\u663e\u793a\uff0c\u8fd8\u4f1a\u540c\u65f6\u51fa\u73b0\u5728\u5730\u5740\u680f\u4e0a\uff0c\u8fd9\u65f6\u7528\u6237\u53ef\u4ee5\u62d6\u66f3favicon\u5230\u684c\u9762\u4ee5\u5efa\u7acb\u5230\u7f51\u7ad9\u7684\u5feb\u6377\u65b9\u5f0f\uff1b\u9664 \u6b64\u4e4b\u5916\uff0c\u6807\u7b7e\u5f0f\u6d4f\u89c8\u5668\u751a\u81f3\u8fd8\u6709\u4e0d\u5c11\u6269\u5c55\u7684\u529f\u80fd\uff0c\u5982FireFox\u751a\u81f3\u652f\u6301\u52a8\u753b\u683c\u5f0f\u7684favicon\u7b49\u3002<\/p>\n<p>\u5236\u4f5c\u65b9\u6cd5\uff1a<\/p>\n<p>1.\u7528Photoshop\u5236\u4f5c\u597d\u4e00\u4e2a\u5927\u7ea6100*100\u7684\u5c0f\u56fe\u3002\u4fdd\u8bc1\u9664\u56fe\u6807\u5916\u7684\u5176\u4ed6\u4e1c\u897f\u7684\u900f\u660e\u5ea6<\/p>\n<p>2.\u4fdd\u5b58\u4e3a.gif\u683c\u5f0f<\/p>\n<p>3.\u4fee\u6539\u56fe\u7247\u6587\u4ef6\u540d\u4e3afavicon.ico<\/p>\n<p>4.\u4e0a\u6b21favicon.ico\u5230\u4f60\u7f51\u7ad9\u6839\u76ee\u5f55<\/p>\n<p>\u6d4f\u89c8\u5668\u8c03\u7528favicon.ico\u7684\u539f\u5219\u662f\u9996\u5148\u5728\u7f51\u9875\u6240\u5728\u7684\u76ee\u5f55\u4e0b\u5bfb\u627efavicon.ico\u6587\u4ef6\uff0c\u5982\u679c\u6ca1\u6709\uff0c\u4fbf\u5230\u7f51\u7ad9\u7684\u6839\u76ee\u5f55\u4e0b\u5bfb\u627e\u3002<\/p>\n<p>\u56e0\u6b64\uff0c\u5728\u7f51\u9875\u4e2d\u4f7f\u7528favicon.ico\u6700\u7b80\u5355\u7684\u529e\u6cd5\u4fbf\u662f\u5c06\u5236\u4f5c\u597d\u7684\u56fe\u6807\u6587\u4ef6\u547d\u540d\u4e3afavicon.ico\uff0c\u7136\u540e\u5c06\u5176\u4e0a\u4f20\u5230\u7f51\u7ad9\u7684\u6839\u76ee\u5f55\u5373\u53ef\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6240\u8c13favicon\uff0c\u5373Favorites Icon\u7684\u7f29\u5199\uff0c\u987e\u540d\u601d\u4e49\uff0c\u4fbf\u662f\u5176\u53ef\u4ee5\u8ba9\u6d4f\u89c8\u5668\u7684\u6536\u85cf\u5939\u4e2d\u9664\u663e\u793a\u76f8\u5e94\u7684\u6807 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-80","post","type-post","status-publish","format-standard","hentry","category-wp"],"_links":{"self":[{"href":"https:\/\/hackeryu.in\/index.php?rest_route=\/wp\/v2\/posts\/80","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hackeryu.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hackeryu.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hackeryu.in\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hackeryu.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=80"}],"version-history":[{"count":0,"href":"https:\/\/hackeryu.in\/index.php?rest_route=\/wp\/v2\/posts\/80\/revisions"}],"wp:attachment":[{"href":"https:\/\/hackeryu.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=80"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hackeryu.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=80"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hackeryu.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}