If you want to create a material asset with an embedded image, use the following expression to source the image:
opdef:`pythonexprs(“hou.pwd().type().nameWithCategory()”)`?image.jpg
…and remember to include/embed the image file into the “extras” tab of the type properties window for your asset.
That's it!