clothes, pictures etc that are flattering make someone look as attractive as they can or make something as good as possible, even if it is not really very good:
That colour is very flattering.
Definition from the Longman Dictionary of Contemporary English Advanced Learner's Dictionary.