How can i prevent images automatic rotated when resizing?