image file logging