To avoid hot-linking an image, prepend http://imgred.com/ before the URL. To show a thumbnail of the image, prepend http://imgred.com/tn/ before the URL.
Details: When posting on message boards or blogs, often you want to show or link to an image on another website. Directly showing or linking to that image is called hot-linking. It's generally bad because it leeches bandwidth from the host site, and as a result many webmasters have their servers set up to prohibit hot-linking.The typical work-around is to do the following:
- Save the image to your hard drive
- Navigate to a free image-hosting website
- Enter the path to the image on your hard drive
- Wait for it to upload
- Copy the new URL and paste it into your message-board or blog post
ImgRed提供了一个便捷的服务,只要得到源图片的地址,就可以直接引用到你的Blog上。而你所需要作的,只是在图片地址前面加上“http://imgred.com/”。
另外,ImgRed还提供了缩略图输出,只要把“http://imgred.com/”修改成“http://imgred.com/tn/”即可。
ImgRed的工作原理也很简单,在第一次读取图片的时候,就会自动把图片存储到ImgRed服务器上。之后就无需再去源地址读取,而是直接读取ImgRed所存储的文件了。(Via WebLeOn's Blog)
没有评论:
发表评论