encapsulate image insertion
assert that image to insert is found
find attachment in entire string, clean up