我是CSS和HTML5的新手,我用Bootstrap作为我正在构建的站点的模板,我对500 x 500的图片有问题,我真的不知道如何替换它,它看起来像是它的JavaScript之类的,我想知道是否有人能照亮我的路到这里来。
这是模板:下面的http://getbootstrap.com/examples/carousel/是我要替换的图片的图像。
http://i.stack.imgur.com/9AoxZ.png
发布于 2015-01-05 10:09:44
以下片段包含图像:
<img class="featurette-image img-responsive" data-src="holder.js/500x500/auto" alt="500x500" src="data:image/svg+xml" data-holder-rendered="true">您应该将src值更改为图像所在的位置,而不是data-src。data-src属性用于在元素中包含不可见数据。你可以read more about it here。
发布于 2015-01-05 10:13:24
请尝试
<img class="featurette-image img-responsive" ng-src="your-image-path.png" alt="Generic placeholder image">https://stackoverflow.com/questions/27776612
复制相似问题