public static function imagesByObject($object = null, $objectId = null)
    {
        //zapytanie po obiekcie
        return self::byObject($object, $objectId)
                ->whereClass()->equals('image');
    }