def METHOD_NAME(
    print_fn,
    remote_url=settings.WGER_SETTINGS['WGER_INSTANCE'],
    style_fn=lambda x: x,
):
    headers = wger_headers()
    url = make_uri(IMAGE_ENDPOINT, server_url=remote_url, query={'limit': 100})
    print_fn('*** Processing images ***')
    for result in get_paginated_generator(url, headers=headers):
        for image_data in result:
            image_uuid = image_data['uuid']
            print_fn(f'Processing image {image_uuid}')
            try:
                ingredient = Ingredient.objects.get(uuid=image_data['ingredient_uuid'])
            except Ingredient.DoesNotExist:
                print_fn('    Remote ingredient not found in local DB, skipping...')
                continue
            if hasattr(ingredient, 'image'):
                continue
            try:
                Image.objects.get(uuid=image_uuid)
                print_fn('    Image already present locally, skipping...')
                continue
            except Image.DoesNotExist:
                print_fn('    Image not found in local DB, creating now...')
                retrieved_image = requests.get(image_data['image'], headers=headers)
                Image.from_json(ingredient, retrieved_image, image_data)
            print_fn(style_fn('    successfully saved'))