Hey there,
It looks like you’re using the Code Block as explained here:
Code Block
If that’s the case, it sounds like the Code Block is working correctly, as it is meant to display the HTML code itself rather than displaying the “finished product”.
Have you tried entering your code into the Custom HTML Block? This should turn the code into the image search box you are looking for.
Here is some info on the Custom HTML Block:
Custom HTML
If using that block doesn’t work for you, come back to let us know, and we will be happy to help!