[nuevo] Improve thumbnail extraction