added img padding for image gallery thumbnails