Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[插件] [11.01完美版]梦网DZ5全新概念上传图片后期自动批量生成缩略图无数据库修改

[复制链接]
_白城听海_ 发表于 2006-10-26 11:04:43 | 显示全部楼层
支持。。。。。。。。。
回复

使用道具 举报

翅膀1 发表于 2006-10-26 11:07:26 | 显示全部楼层
:) :) :) :) :) :)

[ 本帖最后由 翅膀1 于 2006-10-26 12:52 编辑 ]
回复

使用道具 举报

翅膀1 发表于 2006-10-26 11:26:04 | 显示全部楼层
帖子里带有压缩包的,会出现这个:


Warning: imagesx(): supplied argument is not a valid Image resource in d:\wwwroot\webroot\web6962040\wwwroot\bbs\include\attachment.func.php on line 133

Warning: imagesy(): supplied argument is not a valid Image resource in d:\wwwroot\webroot\web6962040\wwwroot\bbs\include\attachment.func.php on line 134

Warning: imagecreatetruecolor(): Invalid image dimensions in d:\wwwroot\webroot\web6962040\wwwroot\bbs\include\attachment.func.php on line 139

Warning: imagejpeg(): supplied argument is not a valid Image resource in d:\wwwroot\webroot\web6962040\wwwroot\bbs\include\attachment.func.php on line 149

Warning: imagedestroy(): supplied argument is not a valid Image resource in d:\wwwroot\webroot\web6962040\wwwroot\bbs\include\attachment.func.php on line 153

Warning: imagedestroy(): supplied argument is not a valid Image resource in d:\wwwroot\webroot\web6962040\wwwroot\bbs\include\attachment.func.php on line 154
回复

使用道具 举报

豬頭豬腦 发表于 2006-10-26 13:11:09 | 显示全部楼层
并没有lightbox2的效果   

卸了
回复

使用道具 举报

woai80 发表于 2006-10-26 17:38:54 | 显示全部楼层

回复 #53 翅膀1 的帖子

同样,希望楼主更新一下,东西真不错
回复

使用道具 举报

 楼主| dreamnet 发表于 2006-10-26 21:52:15 | 显示全部楼层
已经更新
回53
找到viewthread.php我添加的code

if ($attach['attachimg'] = 1){
改为
if ($attach['attachimg'] == 1){

回54楼
lightbox的效果前面已经有朋友成功了,估计您在安装的时候某地方漏了
请检查<head>前面是否加入了litebox.css
回复

使用道具 举报

 楼主| dreamnet 发表于 2006-10-26 21:55:01 | 显示全部楼层
原帖由 baifebbb 于 2006-10-26 11:03 发表
另在问,论坛上其它的不需要缩略图,只要一个版块用缩图怎么整?

可以后台设置开关不同的论坛调用不同的模板
比如把这个做成模板viewthread_photoalbum.htm
回复

使用道具 举报

baifebbb 发表于 2006-10-26 22:18:12 | 显示全部楼层
出现一个严重的错误,请老大更正。

就是安装了插件后,想对一个帖子的图片及内容进行重新编辑时,不能在Discuz!代码模式与所见即所得模式之间切换了,点击所见即所得模式没有反映,并提示出错。

又试了一下,去掉litebox时一切恢复正常。估计问题在litebox部分。
回复

使用道具 举报

 楼主| dreamnet 发表于 2006-10-26 22:31:31 | 显示全部楼层
打开模板header.htm

  1. <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
  2. <script type="text/javascript" src="js/prototype.lite.js"></script>
  3. <script type="text/javascript" src="js/moo.fx.js"></script>
  4. <script type="text/javascript" src="js/litebox-1.0.js"></script>
复制代码

去掉
打开 viewthread.htm 在{template header}后面添加
  1. <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
  2. <script type="text/javascript" src="js/prototype.lite.js"></script>
  3. <script type="text/javascript" src="js/moo.fx.js"></script>
  4. <script type="text/javascript" src="js/litebox-1.0.js"></script>
复制代码
回复

使用道具 举报

baifebbb 发表于 2006-10-26 23:12:14 | 显示全部楼层
原帖由 dreamnet 于 2006-10-26 22:31 发表
打开模板header.htm

<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" ...



OK,问题解决了。谢谢老大,回复及时,很热心。

就是还有一个小问题,浏览器的最左下角有黄色感叹号会提示网页有错误。。。

[ 本帖最后由 baifebbb 于 2006-10-26 23:24 编辑 ]
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-4-28 03:59 , Processed in 0.101690 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表