I made a tool to upload image to bayimg and get raw image url right way:
http://bayimghelper.apphb.com/
But Bayimg blocks hotlinking. So write a function to enable it.
For example:
Original Bayimg link:
http://image.bayimg.com/38ba4e167a8f6ee9dc800b604cb0cfc6663bd720.jpg
You can use following to get access this image
http://bayimghelper.apphb.com/i/38ba4e167a8f6ee9dc800b604cb0cfc6663bd720.jpg
The source code is located at:
https://github.com/raysaspnet/bayimghelper
No comments:
Post a Comment