我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

CKEditor图像路径

I using the IvoryCKEditorBundle in symfony with elfinder as filebrowser. The editor is in the subroute /admin, the images in /images. When I insert them with elfinder, they have the route images ame.jpg. two things are wrong. Frist: the \ must be a / and second because the editor is in a subroute he can't display, ../images/name.jpg would work. Is it possible to change the url or the routing of symfony, so that it displays in the admin area the image and also in the frontend, so the image url is images/name.jpg?

近期文章

  • 将时区设为欧洲/伦敦
  • Yii2 Flysystem - Azure文件系统错误
  • 使用PDO和MySql而不是mysqli [重复]
  • codeigniter HMVC ajax更新功能
  • php表单从mysql变量中选择选项数组
  • 在PHP中添加字符串不起作用
  • 从php特殊的char没有插入到mysql中
  • 重定向到PayPal Express Checkout时自动填写电子邮件帐户
  • 麻烦单引号和双引号
  • 使用Cron的Google API日历
  • 数据库表未从PHP网站代码正确更新
  • Marshmallow抛出FileNotFoundException,但旧版本没有
  • PHP中的TK102-2跟踪器
  • 如果我在控制器方法中创建方法而不是使用eloquent或查询构建器,Laravel5事务是否有效
  • 我想操纵源URL
  • Yii2 url重写后缀(php)问题
  • LDAP查找组PHP的成员
  • 未定义的偏移量:1- Laravel Error异常
  • 使用动态文本框进行批量插入
  • 无法获取正确的数据。 为foreach()警告提供的参数无效

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华