log image generation