def METHOD_NAME(course_key_string, edx_video_id, image_file, image_filename):
    """
    Validates image content and updates video image.
    """
    error = validate_video_image(image_file, skip_aspect_ratio=True)
    if error:
        LOGGER.info(
            'VIDEOS: Scraping youtube video thumbnail failed for edx_video_id [%s] in course [%s] with error: %s',
            edx_video_id,
            course_key_string,
            error
        )
        return
    update_video_image(edx_video_id, course_key_string, image_file, image_filename)
    LOGGER.info(
        'VIDEOS: Scraping youtube video thumbnail for edx_video_id [%s] in course [%s]', edx_video_id, course_key_string  # lint-amnesty, pylint: disable=line-too-long
    )