网站分类目录(pc28打法技巧图片)缩略图显示不正常问题有极速赛车投注
很多分类目录缩略图用https://api.webthumbnail.org端点。如下:
还有一种方法是修改 网站根目录下\source\include\function.php
搜索save_to_local函数(大约在434行)
$imgurl = 'http://open.thumbshots.org/image.pxf?url='.$weburl;
替换成:
$imgurl = 'http://www.myip.cn/webthumb.php?q='.$weburl;
保存即可,然后去后台-站点管理-下载图片 下载所有图片即可 大约每个图片100K 图片保存在\uploads\website目录下 (个人认为很占空间与带宽),找到function get_webthumb($web_pic,$web_url)。打开文件,多数在最后找(250行左右),生成的图像:http://api.webthumbnail.org/?width=...&height=...&screen=...&url=...
多数分类目录修改缩略图是网站根目录下文件source\module\prelink.php, 这是一个url格式盗链截图在Webthumbnail.org,图片效果显示如下:
目前上面代码第一种$strurl = $options['site_root'].'public/images/nopic.gif';图片显示如下:
而http://api.webthumbnail.org/?width=160&height=100&screen=1024&url='.$web_url;由于服务器502Bad Gateway问题,会看到如下代码:
$strurl = $options['site_root'].$options['upload_dir'].'/'.$web_pic;
} else {
//在这里选择不同的缩略图服务网站。
在网站(网址)分类目录提交网站的时候会发现很多的分类目录网站出现缩略图无法显示的现象,
//$strurl = $options['site_root'].'public/images/nopic.gif';
//$strurl = 'http://y.searchpreview.de/preview?s='.$web_url;
//$strurl = 'http://get.thumbshots.ru/?lang=en&size=s&url='.$web_url;
//$strurl = 'http://webthumb.jd-app.com/webthumb.php?url='.$web_url;
//$strurl = 'http://api.webthumbnail.org/?width=160&height=100&screen=1024&url='.$web_url;
// $strurl = 'http://tu.luobuw.com:8080/?url='.$web_url;
$strurl = 'https://blinky.nemui.org/shot?http://'.$web_url;
}
之前就是因为用$strurl = 'http://api.webthumbnail.org/?width=160&height=100&screen=1024&url='.$web_url;作为缩略图,
- 最近发表
- 随机阅读
-
- js实现mp3音乐播放器ui界面代码
- wordpress响应式清新博客主题Lover
- wordpress XIU主题(阿里百秀)小清新cms模板V5.6
- CSS表格table与列表list
- wordpress隐藏文章部分内容需要注册登录后可见
- WordPress响应式/音乐/个人博客杂志Always主题V1.8
- 个人博客网站选择主机服务器技巧
- 鼠标经过文字显示隐藏图片css样式
- HTML+JavaScript创建响应式404页面
- 爱奇艺qsv/腾讯视频qlv/优酷视频kux格式转换MP4
- Crypto Markets Add $70 Billion Daily as Bitcoin (BTC) Soars Past $71K (Market Watch)
- HTML5中CSS层叠样式表
- WordPress插件Ultimate Category Excluder排除分类文章
- 谷歌Nest音箱升级“翻车”:部分用户更新后成砖,AI助手Gemini遭质疑
- 创意的分割线404错误页面代码
- dedecms实现tag标签伪静态方法
- 帝国cms如何设置会员注册邮箱验证
- wordpress(大前端)DUX主题v5.0模板下载
- 个人网站本地搭建Apache+PHP+MySQL环境
- 个人网站程序语言HTML/ASP/PHP解析
- 搜索
-
- 友情链接
-