Limit size of images and make them clickable