switched order of axes labels and img in html