我在我的图片上传项目中使用TinyMCE作为文本编辑器,我使用了justboil.me( jbimages )插件,当我与laravel一起使用这个插件时,文本编辑器工作得很好,但是我不能上传任何图像,jbimages插件从这两个http://example.com/js/tinymce/plugins/jbimages/ci/index.php/upload/english http://example.com/js/tinymce/plugins/jbimages/ci/index.php/blank返回404错误,我认为这是因为路由问题,如何解决这个问题。
发布于 2014-01-16 14:40:35
好的,在处理了插件之后,我发现唯一的方法是将html代码步骤1: change对话框-v4.htm表单操作更改为http://example.com/public/js/tinymce/plugins/jbimages/ci/index.php/upload/english,然后将iframe更改为http://example.com/public/js/tinymce/plugins/jbimages/ci/index.php/blank步骤2:将config.php文件中的$config‘’img_path‘更改为’/public/your_image_目录‘。
如果有人有更干净的解决方案,我会很高兴看到的
https://stackoverflow.com/questions/21163569
复制相似问题