First attempt for thumbnails generation - work in progress