上线了一个图床,搭配External Media without Import插件使用。

作为一个穷苦码农,本着能省则省,但是又能提高使用者的用户体验的精神。

决定把网站的大部分图片使用外链,因为本博客所在的服务器在香港,带宽只有1M,假如首页有很多图的话,服务器压力很大,用户体验也不是很好。

这个时候,External Media without Import进入我的眼帘。

 

可以将外链的图片添加到媒体库。

有了这个神器之后,我就开始找外链的图床和存储对象了。

本来选择了七牛云和腾讯云。但是被盗刷的风险太大了,而且并不是非常适合管理,有论坛的朋友一晚上被盗刷几十上百R的大有人在。

这个时候,新浪微博出现了,没错,微博。

发表微博后,微博的图片链接是可以被其他网站使用的。良心啊新浪!

于是又暗戳戳的百度新浪微博有没有上传的接口。于是一开始找到了这个。

附上链接https://www.lylares.com/

 

后来陆续找到几个新浪图床,发现他们都有一个共同点,都是【幻想领域】提供的框架。

后来终于找到了可以伸手就来的源码,作者“阿钰”。源码开源链接https://github.com/178146582/Fantasy-field。

可惜作者已经停止更新,但是可以自己使用前面提到的【lylares】这位大神的API。

于是一顿倒腾,终于部署出来了。因为本人之前从未接触过PHP,只是一名小小的.NET程序员,生活在伟大的微软体系下,过着衣来伸手,饭来张口的搬代码的日子(在此我要声明,Visual Studio是宇宙第一IDE,不接受反驳),所以服务器环境是Win Server 2016+IIS+PHP7.2+MySql5.7。有时间再写一篇博客,IIS怎么部署PHP和中间遇到的一些坑。

就先写到这~图床链接http://tc.syzworld.com

 

“上线了一个图床,搭配External Media without Import插件使用。”的3,796个回复

  1. It’s the best time to make some plans for the future and it’s time to
    be happy. I have read this post and if I could I wish to suggest
    you some interesting things or advice. Perhaps
    you can write next articles referring to this article. I wish to read even more things about it!

  2. It is a certain extent fabulous that today I was looking appropriate for something to concede me a dumfound of happiness. The outlandish gadget is that I found it in the firstly place. I was struggling to get money to get in touch with my charter out paid, and I could not idol revealed what to do. Some friends gave me a infrequent special options, but I till was not dedicated to those solutions. No matter how, I finally figured completely that I just needed to obtain a look at this website to above all my problems: payday loans online

  3. I was having a the whole kit of pest, and I was not unshakeable what to do. I gave it a some days until I went to see my doctor. So I went to survive help him, and he exactly told me to get over it. I was so appreciative as a service to that opinion because I realized that the professional medical community did not be enamoured of nearly me more than I concern hither myself. Then, I did the probing and I build the cure to all of my anxiety here: pure cbd oil

  4. [url=http://xenical.ooo/]order xenical online[/url] [url=http://zithromax.institute/]zithromax[/url] [url=http://viagra-soft.us.com/]buy viagra soft tabs[/url] [url=http://nolvadex.recipes/]nolvadex online[/url] [url=http://buystromectol.us.org/]buy stromectol[/url]

  5. I was just looking for this information for some time.
    After six hours of continuous Googleing, at last I
    got it in your site. I wonder what is the lack of Google strategy that don’t rank
    this kind of informative web sites in top of the list. Usually the top websites are full of garbage.

  6. Pingback: viagra tablets
  7. Pingback: generic viagra 100mg
  8. I like what you guys are up too. Such intelligent work and reporting!
    Keep up the excellent works guys I have incorporated you guys to my
    blogroll. I think it’ll improve the value of my website :).

  9. Hey! Someone in my Facebook group shared this site with us so I came to look it over.
    I’m definitely loving the information. I’m book-marking and will be tweeting this to my followers!
    Fantastic blog and fantastic design and style.

  10. Pingback: sildenafil
  11. It is perfect time to make some plans for the future and it’s time to be happy.

    I’ve read this post and if I could I desire to suggest you few interesting things or suggestions.

    Maybe you could write next articles referring to this article.
    I desire to read even more things about it!

  12. Pingback: viagra for sale
  13. Pingback: buy generic cialis
  14. Pingback: generic viagra
  15. Pingback: generic cialis