You have used same id so many times so remove that and use class instead.
See the updated code:
.wrapper {
border: solid 1px transparent;
border-radius:4px;
height: 100px;
width: 100px;
padding: 15px;
}
.wrapper img {
border: dotted 1px #555;
height: 100%;
width: 100%;
}
.wrapper img:hover{
border-color:pink;
}
-KR