TypechoUnpic 是一个Unsplash API 集成插件,用于在Typecho编辑器中向正文插入 Unsplash 免费图片,图片保存为本地 .webp。

Unsplash 的核心价值在于,向内容创作者提供水准极高的图片,采用极度宽松的许可证,允许免费用于个人及商业用途,且不强制要求署名。更可规避随意转载图片可能引发的版权纠纷。
搜索black forest并选中插入图片的演示:
Photo by Katelyn G on Unsplash
TypechoUnpic插件会在编辑器中自动插入以下代码:
<img class="unpic-image unpic-medium" src="https://www.hi-era.com/start/usr/uploads/2026/11/2948402633.webp" alt="A plane flying over a forest covered in fog" />*Photo by [Katelyn G](https://unsplash.com/@katelyn_g) on [Unsplash](https://unsplash.com/photos/a-plane-flying-over-a-forest-covered-in-fog-xAClhhtqReM)*
正式启用TypechoUnpic插件前,请获取免费Unsplash Access Key。
会员内容
登录可读解锁本篇专享内容
登录后即可阅读本篇完整内容。