Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.0k views
in Technique[技术] by (71.8m points)

美图秀秀插件问题

垃圾官方文档就不说了

window.onload=function(){
       /*第1个参数是加载编辑器div容器,第2个参数是编辑器类型,第3个参数是div容器宽,第4个参数是div容器高*/
    xiuxiu.embedSWF("altContent",3,"100%","100%");
        xiuxiu.setUploadType(2);
        xiuxiu.setUploadDataFieldName("upload_file");
    xiuxiu.onInit = function ()
    {
        xiuxiu.loadPhoto("");
    }    
}

当第二个参数为3的时候xiuxiu.loadPhoto方法不生效, crossdomain.xml 确定没有问题,图片确定也没有问题
对应“官方博客”问题
为什么编辑器加载不了图片?

有没有哪位兄台爬过这个坑的求告知一下,救救孩子吧


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

兄台解决了吗?我也遇到这个问题了


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...