IIIserver and universal viewer

I install IIIserver and universal viewer but I don’t see in my site …


Also I add these line to my .htaccess

# CORS access for some files.
<IfModule mod_headers.c>
    <FilesMatch "\.json$">
        Header add Access-Control-Allow-Origin "*"
        Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type"
        Header add Access-Control-Allow-Methods "GET, POST, OPTIONS"

Is it working with a default theme?

Anyway, the uv should be set automatically in the site settings (it listens event “view.after.show”), or manually in the theme via command echo $this->universalViewer($item);.

Hello Daniel
I use cozy
In my directory of themes ( for example cozy)
I have these error.
I don’t see that the module work…

echo $this->universalViewer($item);
bash: syntax error near unexpected token `(’

Does the IIIF-Server Module supports Search API or only Image and Presentation API?