I have created the layout directory C:\Program Files (x86)\GeoServer 2.15.1\data_dir\layouts
In the directory I have created an xml file with the following:
<layout>
<decoration type="image" affinity="bottom,right" offset="6,6" size="80,31">
<option name="C:\Program Files (x86)\GeoServer 2.15.1\data_dir\layouts" value="Uis_Extensions.png"/>
</decoration>
<decoration type="scaleline" affinity="bottom,left" offset="36,6"/>
<decoration type="legend" affinity="top,left" offset="6,6" size="auto"/>
</layout>
The expectation is that when you go to layer preview the decoration should show overlayed on the WMS. I am getting none of that. What am I doing wrong?