Devs.tw 是讓工程師寫筆記、網誌的平台。歡迎您隨手紀錄、寫作,方便日後搜尋!
雖然一大堆網站與服務使用 Imgur 當圖床
比如 JPTT 的圖片上傳就直接放在 Imgur
但其實他的使用條款有明訂禁止這麼做
Also, don't use Imgur to host image libraries you link to from elsewhere, content for your website, advertising, avatars, or anything else that turns us into your content delivery network. If you do – and we will be the judge – or if you do anything illegal, in addition to any other legal rights we may have, we will ban you along with the site you're hotlinking from, delete all your images, report you to the authorities if necessary, and prevent you from viewing any images hosted on Imgur.com. We mean it.
口氣非常嚴厲的警告不要這麼做
國外網友也多次討論過這件事
https://www.ramblingware.com/blog/dont-violate-imgurs-terms-of-service-as-a-cdn
https://www.reddit.com/r/webdev/comments/2qhf7z/is_there_any_reason_not_to_use_imgur_as_a_host/
https://webmasters.stackexchange.com/questions/52833/can-i-use-imgur-as-a-cdn
While Imgur is an image hosting service, their service is intended for the images to be commented upon, rated and shared within that site by members of their community.
另外還有官方討論區的一些參考
https://community.imgur.com/t/a-question-regarding-imgurs-sharing-and-hotlinking-policy/17769
因為 imgur 的 api 實在很好用的關係 再加上又是有口碑的圖片網站
工程師實在會很想拿它來當圖床
個人猜測 除非佔用流量/空間大到影響 Imgur 本身的服務 不然目前它也是睜一隻眼閉一隻眼
但是使用條款嚴厲的警告過法律後果、刪除全部內容的後果 關於此點的風險需要注意
真的要找專門的圖床 api 服務 我最近用了一家倒是還不錯
https://cloudinary.com
給大家參考