<div dir="ltr">Thank you very much. Now I point to GeoExplorer-debug.js, I will look for<span style="font-size:12.8px"> displayPopup function ...</span><div><span style="font-size:12.8px">This affects all maps, right? I wonder if there is a way to modify the getfeatureinfo in only some maps, those that have pictures ...<br></span><div><div><br></div><div>Yes, I already use freemarker templates, though only content.ftl works fine and my tests with header.ftl files don't work ... I was thinking to add some easy javascripts on header</div></div></div><div><br></div><div>Thanks</div><div>Annalisa</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-23 21:37 GMT+02:00 Amedeo Fadini <span dir="ltr"><<a href="mailto:amefad@gmail.com" target="_blank">amefad@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Here I am.<br>
<span class=""><br>
2016-09-23 16:01 GMT+02:00 Amedeo Fadini <<a href="mailto:amefad@gmail.com">amefad@gmail.com</a>>:<br>
> I've done it....<br>
> You'll find a width property inside the big geoexplorer.js file... its<br>
> somewhere around line 82000.<br>
<br>
</span>I'm using the packet version on ubuntu ppa, in my installation inside<br>
the file /static/geoexplorer/script/<wbr>GeoExplorer.js I found the width<br>
value inside the displayPopup function<br>
<br>
Line 80079<br>
<br>
Maybe you already know how to use  freemarker templates[0]<br>
I use thtem to show only a list of specific attributes in<br>
getfeatureinfo response.<br>
<br>
Based on the standard getfeatureinfo templates [1] I assign a list of<br>
fields to display to a variable and print only the field that is<br>
needed. It's easy to insert link and show pictures inside the info<br>
popup<br>
<br>
something like this:<br>
<br>
<#assign campi=['id', 'nome', 'descrizione', 'foto_1', 'foto_2']><br>
<br>
<#if !attribute.isGeometry><br>
   <#if <a href="http://attribute.name?matches(" rel="noreferrer" target="_blank">attribute.name?matches(</a>"foto_"<wbr>)><br>
       <a href="/uploaded/img/"+${<wbr>attribute.value}><img<br>
src="/thumbnails/"+${<wbr>attribute.value}><br>
      </a><br>
   <#else><br>
   ${campi?seq_contains(<a href="http://attribute.name" rel="noreferrer" target="_blank">attribute<wbr>.name</a>)?string("<td>${<wbr>attribute.value}"</td>,<br>
"")}<br>
    </#if><br>
</#if><br>
<br>
Enjoy!<br>
<br>
Amefad<br>
<br>
[0]  <a href="http://docs.geoserver.org/2.7.0/user/tutorials/freemarker.html" rel="noreferrer" target="_blank">http://docs.geoserver.org/2.7.<wbr>0/user/tutorials/freemarker.<wbr>html</a><br>
[1] <a href="http://docs.geoserver.org/2.7.0/user/tutorials/GetFeatureInfo/index.html#tutorials-getfeatureinfo" rel="noreferrer" target="_blank">http://docs.geoserver.org/2.7.<wbr>0/user/tutorials/<wbr>GetFeatureInfo/index.html#<wbr>tutorials-getfeatureinfo</a><br>
</blockquote></div><br></div>