resize above image to horizontal format