Is it possible to render an output image in Shiny just by placing the text editor cursor inside a numericInput control?

I am building a shiny app where I have to type in different dimensions (like length and height) of a machined part. I have an image of the part showing which numericInput box on the app is related to which dimension of the part, but it would be nicer if instead of having a single image with all the dimensions descriptions on it to have an image for each specific numericInput. That way when the user place the text editor cursor inside the numericInput box, only the relevant dimension will be showing on the picture. Any ideas?