public function getGallery() { return $this->hasOne(GalleryImage::className(), ['id' => 'gallery_id']); }