random thmbnail generation of four size working