Providing functions to manage images