private static function setAjaxAttributes($classname)
    {
        self::$staticAttributes = app($classname)->getAttributes();
        $width                  = Input::get('width');
        if ($width) {
            $width = (int) (12 * $width) / 100;
            array_set(self::$staticAttributes, 'width', $width);
        }
        $height = Input::get('height');
        if ($height) {
            $height = (int) (12 * $height) / 100;
            array_set(self::$staticAttributes, 'height', $height);
        }
        return self::$staticAttributes;
    }