You can use the image as a background for an element, and set the size of the element so that the image is repeated exactly five times.
Example:
div {
background: url(http://placekitten.com/100/100);
width: 100px;
height: 500px;
}
solved How can I repeat image 5 times using css? [closed]