[英]How can I insert html img?
I'm trying to put an image in my online curriculum from a website of my country.我正在尝试将我所在国家/地区网站的图像放入我的在线课程中。 The problem is, when I insert the following code:
问题是,当我插入以下代码时:
<img src="//imageexemple.com/image.png">
The curriculum website, automatically, change my code to:课程网站会自动将我的代码更改为:
<img src="http://curriculumonline.com/imageexemple.com/image.png">
In other words, they are adding to my code the http://curriculumonline.com/
text to prevent we import images out of their server.换句话说,他们将
http://curriculumonline.com/
文本添加到我的代码中,以防止我们从他们的服务器中导入图像。
I would like to know if there is any other way to try to insert the image from external website.我想知道是否有任何其他方法可以尝试从外部网站插入图像。 I already tried "background-image: url" but doesnt work because they also remove the / when you use "background-image: url".
我已经尝试过“背景图像:url”但不起作用,因为当您使用“背景图像:url”时它们也会删除/。
Use the full image source path, like使用完整的图像源路径,例如
<img src="http://imageexemple.com/image.png">
Instead of代替
<img src="//imageexemple.com/image.png">
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.