doc: include docstring for `loading_image`