public static function get_resize_configuration($name) {
		if (!isset(self::$resize_configurations[$name])) {
			throw new \Exception('Resize configuration ' . $name . ' not found');
		}
		return self::$resize_configurations[$name];
	}