fix imageGallery thumbnail