imagescalr + logging