将博CMS论坛

注册

 

发新话题 回复该主题

jumboecms1.3.4 案例添加图片BUG [复制链接]

1#
jumboecms1.3.4 在案例添加图片保存出现一些信息,请问是为啥?Offending URL: http://localhost:30648/admin/module_case_edit.aspx?id=24&categoryid=24&windowCode=1369644523171Source: System.DrawingMessage: Parameter is not valid.Stack trace:    at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)   at System.Drawing.Bitmap..ctor(Int32 width, Int32 height)   at JumboECMS.Utils.ImageHelp.Image2Thumbs(Image originalImage, String thumbnailPath, Int32 photoWidth, Int32 photoHeight, String mode)   at JumboECMS.Utils.ImageHelp.LocalImage2Thumbs(String originalImagePath, String thumbnailPath, Int32 width, Int32 height, String mode)   at JumboECMS.Common.NewsCollection.GetThumtnail(String mainSiteUrl, Boolean mainSite, String RemoteFileUrl, String SavePath, Boolean isSave, Int32 width, Int32 height)   at JumboECMS.WebFile.Admin.module_case_edit.btnSave_Click(Object sender, EventArgs e)   at System.EventHandler.Invoke(Object sender, EventArgs e)   at System.Web.UI.WebControls.Button.OnClick(EventArgs e)   at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)   at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 可以查到图片已经上传到文件夹。 请帮忙解决。
分享 转发
TOP
2#

解决:把“自动生成缩略图 ”前面的勾去掉即可
原因是:缺少了 缺省的案例的缩略图比例,下一个版本修正
TOP
3#

也可手工打开表“jcms_normal_thumbs“,添加一个Module为case的记录
TOP
4#

非常感谢大哥的回复。继续支持将博。
TOP
发新话题 回复该主题