add and commit any images that are part of the log