image: reorder width and height fields