I use the image gallery below.

CodePudding user response:
add background-size: calc(100% - 10px); to .ri-grid ul li a element.
10px represent the space between each picture. You'll maybe need to change the background color of <li> and <a> to have a nice result.
