Implemented thumbnail for svg and pdf