Modified the way image is added to the x-axis label