当前位置:就要爱网站目录 » 站长资讯 » 伍佰目录 » 文章详细

【缩略图调用】伍佰网站目录最新缩略图调用外链blinky原MozShot

来源:Adcd网站目录 浏览:700次 时间:2019-07-05
 【缩略图调用】站长啦最新缩略图调用外链blinky原MozShot

目前站长啦分类目录使用的缩略图是mozshot的,但是最近打开发现已经跳转到https://blinky.nemui.org了,

而且这个相对而言增加了大图显示方案,这里就分享出来,调用网址缩略图的调用非常不错。

如果你使用的是站长啦网站目录,2.0以上版本,你只要找到 source\module\prelink.php文件下第256行

$strurl= 'https://blinky.nemui.org/shot/large?http://'.$web_url;替换下就行了

建议用128或者256的


Technical demo to take screenshot of any URL, powered by PhantomJS, Poltergeist and Ruby. Blinky API compat with old service (MozShot) currently.

Currently, no documentation except really simple usage. However, all source code has provided under ruby lisence. You can refer and modifiy this source freely.


技术演示采取任何网址的截图,由PhantomJS,鬼和红宝石。•API兼容旧的服务(mozshot)目前。
目前,除了简单的用法外,没有文档。然而,所有的源代码已经在红宝石证提供。你可以参考和修改这个源自由。


Image URLs

    128x128: https://blinky.nemui.org/shot?http://www.wbwb.net
    64x64: https://blinky.nemui.org/shot/small?http://www.wbwb.net
    256x256: https://blinky.nemui.org/shot/large?http://www.wbwb.net
    512x512: https://blinky.nemui.org/shot/xlarge?http://www.wbwb.net

推荐网站

最新加入网站 TOP5

入站排行榜 TOP5