网站预览缩略图,可以实现自动生成网页缩略图截图.这里说下他们的出处.
一、wp.com
wordpress 官方缩略图 API,使用方法:
https://s0.wp.com/mshots/v1/{YOURURL}?w={Width}&h={Height}
例如:
https://s0.wp.com/mshots/v1/www.wpzj.cc?w=600&h=400
//带宽高参数,即截取宽 600、高 400 的缩略图。
备用网址 :
https://s0.wp.com/mshots/v1/{url}?w={width}&h={height}
https://s1.wp.com/mshots/v1/{url}?w={width}&h={height}
https://s2.wp.com/mshots/v1/{url}?w={width}&h={height}
https://s3.wp.com/mshots/v1/{url}?w={width}&h={height}
https://s4.wp.com/mshots/v1/{url}?w={width}&h={height}
https://s5.wp.com/mshots/v1/{url}?w={width}&h={height}
二、urlscan.io
使用方法:
https://urlscan.io/liveshot/?width={width}&height={height}&url={YOURURL}
例如:
https://urlscan.io/liveshot/?width=600&height=400&url=https://www.wpzj.cc
//截取宽 600、高 400 的缩略图.默认截取宽高尺寸为 1280×1024,也可以不带宽高参数.
三、Thum.io
使用方法:
https://image.thum.io/get/{url}
例如:
https://image.thum.io/get/https://www.wpzj.cc
四、Blinky
网站:https://miniature.io/
根据演示,我们可以获取前缀,然后添加到网站对应位置,不过最好需要控制图片的大小尺码。比如:
http://api.webthumbnail.org/?width=240&height=180&screen=1280&url=www.wpzj.cc
五 网站缩略图产品图生成器
网站缩略图产品图生成器:https://www.imoguo.com/object/website_img/
参考地址:
近期评论