def METHOD_NAME(name):
    path_to_image = os.path.join(path_to_uploads, name)
    if os.path.exists(path_to_image):
        image = Image.open(path_to_image)
        image = image.convert("RGBA")
        image.filename = name
        image.path = path_to_image
        return image
    else:
        log_message(f'image not found: "{name}"')
        return None