fix imagesize landscape and potrait