thumbnail generation working in server mode