public function viewAction() { $this->restrictAccess('IMAGES'); $this->response->page('ui/images/view.js', ['platforms' => Image::getPlatforms($this->user->getAccountId() ?: null, $this->getEnvironmentId(true))]); }