implemented thumb nail image in index