logging images too