This is a basic example using three images.

The carousel requires some basic CSS be applied to the list of images (see below). Note that in the list style (#carousel ul) that the width should equal the combined with of all of your images. For example, this demo uses three images, each having a width of 500px, therefore the width is set to 1500px:

#carousel ul {
    list-style: none;
    width: 1500px;
    margin: 0;
    padding: 0;
    position: relative;
}
#carousel li {
    display: inline;
    float: left;
}