add log for images