Write document for image-named