Generate smaller image if to big for croping