Op ma 22 nov. 2021 om 13:44 schreef Tatyana via Geoserver-users < geoserver-users@lists.sourceforge.net>:
> I want to show an image in the results of getFeatureInfo request. I have a > html template and try to follow this tutorial > > https://geoserver-pdf.readthedocs.io/en/latest/tutorials/GetFeatureInfo/#custom-templates > However, I don’t understand how to define relative path to the image in my > template and why there is a part «/popup_map/ > » in url in tutorial. > I put my image in the geoserver /data folder, I have it in my /data/styles > folder, I have it in my workspace /styles and styles/images folders already > )) But still don’t understand how to refer to my image, what is the correct > url. Please help :( > > Not sure, but I think you need to put the images under the "www" directory of your geoserver data dir and then use a relative link starting at "/" -- Disclaimer; This message is just a reflection of what I thought at the time of sending. The message may contain information that is not intended for you or that you don't understand.
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users