remove width and height of thumbnail