2489 thumbnail generator 2

Remove commented code