added resizing of 2x images