add log image to files