如何在没有http或https的wordpress中为图像创建URL。
例如这个网站是怎么做到的?检查以下网址
https://www.countries-ofthe-world.com/flags-normal/flag-of-Madagascar.png
https://www.countries-ofthe-world.com/flags-normal/flag-of-Albania.png
他们以这种方式使用html中的图像。表示他们链接时没有使用https或http。
<img src="flags-normal/flag-of-Albania.png" width="68" height="40" alt="flag of Albania">
我的想法:我认为该网站使用的文件夹为“ flags-normal”,并且其中包含所有图像。因此,如果是这样,是否可以添加Src ='flags-normal / image.png'>?还是像上面的示例那样使用它?