Adding thumbnail creator method