Added an option to disable portrait images