New logic to display Images