Hello Ian, Thank you for yesterday's recommendation I tried to work on it to no success. Please advise where I am going wrong, Also would like to mention that the pictures are stored in QGIS (hyperlinks) and would like the same to show below the list of attribute in openlayers (is this possible?).
Thank you for your help. On Mon, Apr 16, 2018 at 6:33 PM, Ian Turton <[email protected]> wrote: > > > On 16 April 2018 at 17:06, Nauwanga Nauwanga <[email protected]> > wrote: > >> Hello Everyone >> >> I am seeking advise regarding displaying pictures in the popup. >> >> I did create a popup and also changed the template as per this tutorial, >> http://docs.geoserver.org/latest/en/user/tutorials/GetFeatur >> eInfo/index.html >> >> My challenge is I cannot find this directory being refered to here in >> Geoserver >> workspaces/topp/DS_poi/poi >> > > That is a reference to the layer with the points of interest in the > example - you should replace that with the <workspace> name of your data > (for topp) and the name of your <DataStore> for DS_poi and the name of your > <feature type> for poi > >> >> >> I am assuming it is this directory on my computer, >> C:\Program Files (x86)\GeoServer 2.12.1\data_dir\workspaces\top >> p\states_shapefile\states >> >> under this directory there are five files >> description.ftl >> featuretype.xml >> layer.xml >> title.ftl >> >> I am hoping it is the featuretype.xml file being referred to in the >> tutorial? my question, where do I paste the code being referred to in this >> tutorial in the xml file? Can I display my pictures straight from the >> attribute table or I need to do some other settings. >> >> > Never, ever (even in fun) change the featuretype.xml file it will break > GeoServer's ability to display your data. You should be editing the > content.ftl file > > > Ian > >
content.ftl
Description: Binary data
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
