finalize thumnail creation