Darkdeamon
Darkdeamon

Reputation: 2079

Bootstrap Carousel 500 x 500

I'm kind of newbie with CSS and HTML5, I'm using Bootstrap Carousel as my template for the site I'm building and I'm having issues with the 500 x 500 picture, I don't really know how to replace it, it seems like its JavaScript or something, i was wonder if someone can light my way here..

This is the template: http://getbootstrap.com/examples/carousel/ Below is the image of the picture I'm trying to replace.

https://i.sstatic.net/9AoxZ.png

Upvotes: 0

Views: 906

Answers (2)

Hareesh
Hareesh

Reputation: 6900

please try

<img class="featurette-image img-responsive" ng-src="your-image-path.png" alt="Generic placeholder image">

Upvotes: 0

Topr
Topr

Reputation: 882

The following snippet contains the image:

<img class="featurette-image img-responsive" data-src="holder.js/500x500/auto" alt="500x500" src="data:image/svg+xml" data-holder-rendered="true">

You should change the src value to where your image is, not the data-src. The data-src attribute is used to include invisible data in an element. You can read more about it here.

Upvotes: 1

Related Questions