使用 Imgur 作为海外图床非常方便,不用担心存储、带宽等问题。而且 Imgur 提供了缩略图的功能, 使用方法如下
There are 6 total thumbnails that an image can be resized to. Each one is accessable by appending a single character suffix to the end of the image id, and before the file extension. The thumbnails are:
|Thumbnail Suffix|Thumbnail Name |Thumbnail Size|Keeps Image Proportions| |----------------|----------------|--------------|-----------------------| |s |Small Square |90x90 |No | |b |Big Square |160x160 |No | |t |Small Thumbnail |160x160 |Yes | |m |Medium Thumbnail|320x320 |Yes | |l |Large Thumbnail |640x640 |Yes | |h |Huge Thumbnail |1024x1024 |Yes |
For example, the image located at http://i.imgur.com/12345.jpg has the Medium Thumbnail located at http://i.imgur.com/12345m.jpg
参考:
微信关注我哦 👍
我是来自山东烟台的一名开发者,有感兴趣的话题,或者软件开发需求,欢迎加微信 zhongwei 聊聊, 查看更多联系方式