Code:
<Frame name="MyImageFrame" parent="UIParent">
<Size x="50" y="50"/>
<Anchors>
<Anchor point="CENTER"/>
</Acnhors>
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentMyImage" file="Interface\AddOns\MyAddon\MyImageName.tga">
<Size x="50" y="50"/>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
</Layers>
</Frame>
Thia would be one basic XML way. Replace the file path with one to your file. Make sure your texture is WoW compliant