protected function registerImageSizes()
    {
        do_action("before_theme_register_image-sizes");

        foreach ($this->getConfig("image-sizes") as $id => $data):
            add_image_size($id, $data["width"], $data["height"], $data["crop"]);
        endforeach;

        do_action("after_theme_register_image-sizes");
    }