make the thumbnail of homepage slider