Add functionality to add images to docs