[英]How to insert image in magento cms editor
i am trying to insert images using editor in magento from the admin panel. 我正在尝试使用管理面板中magento中的编辑器插入图像。 images are uploading without issue but after the upload i am clicking on insert image. 图片上传没有问题,但是上传后我点击插入图片。 but the path is not coming into the popup src url. 但路径未进入弹出src url。 so i am unable to place image into editor. 所以我无法将图像放入编辑器。
anybody help me please. 任何人都可以帮助我。
thanks, murali. 谢谢,穆拉利。
<img src="{{media url="wysiwyg/filename.jpg"}}" alt="" />
appear in the text-area 参见以下代码: <img src="{{media url="wysiwyg/filename.jpg"}}" alt="" />
出现在文本区域 I think the problem is that you can't add an image like you're supposed to. 我认为问题在于您无法像预期的那样添加图像。 This problem is related to Firefox, at least in my case this is. 这个问题与Firefox有关,至少在我看来是这样。
If you select an image in Chrome or in IE it works. 如果您在Chrome或IE中选择图片,则可以使用。 In Firefox it doesn't. 在Firefox中则不是。
http://magento.com/images
directory. 将您的图片放在http://magento.com/images
目录中。 src
tag eg src="/images/banner1.jpg"
. 更改/编辑src
标签,例如src="/images/banner1.jpg"
。 根据您的描述,一旦在图像管理器中看到上传的图像...,双击该图像,它将使用自定义URL进入编辑器
这是最好的方法:
<img src="{{skin url='images/YOUR-IMAGE.jpg'}}" />
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.