Php Laravel 5:TinyMCE 4图像的URL已断开

Php Laravel 5:TinyMCE 4图像的URL已断开,php,laravel,laravel-5,tinymce,Php,Laravel,Laravel 5,Tinymce,我刚刚安装了TinyMCE+jbimages插件,可以直接从编辑器上传照片。 上传工作正常,但由于相对URL,显示中断 我添加了一篇来自 http://localhost/laravel-5/article/create 上传一幅图像是可行的,它甚至可以在编辑器中显示图像 编辑器中的图像路径显示为。/images/display-error1.jpg 但是在提交并返回到博客页面localhost/laravel-5/articles 图像不显示。它指向localhost/laravel-5/im

我刚刚安装了TinyMCE+jbimages插件,可以直接从编辑器上传照片。 上传工作正常,但由于相对URL,显示中断

我添加了一篇来自
http://localhost/laravel-5/article/create
上传一幅图像是可行的,它甚至可以在编辑器中显示图像

编辑器中的图像路径显示为
。/images/display-error1.jpg

但是在提交并返回到博客页面
localhost/laravel-5/articles

图像不显示。它指向
localhost/laravel-5/images/image.jpg
并跳过
public

这是
tinymce/plugins/jbimages/config.php

$config['img_path'] = '/laravel-5/public/images'; // Relative to domain name
$config['upload_path'] = $_SERVER['DOCUMENT_ROOT'] . $config['img_path'];
我怎样才能解决这个问题?谢谢。

我在这里找到了答案:

只需添加
images\u upload\u base\u path:“/base/path/to images”