if (!filter_var($this->id, FILTER_VALIDATE_INT)) {
            $this->db->insert("image_camera", $data); 
            $this->id = $this->db->lastInsertId(); 
        }