Skip to main content

Retrieving Parameters from FSI Server

FSI Viewer is capable of retrieving image specific parameters from FSI Server dynamically. This way you do not need to define these parameters explicitly. The list below shows some typical parameters that can be retrieved from FSI Server automatically:

  • ImageWidth
  • ImageHeight
  • ImageTilesX
  • ImageTilesY
  • SceneSets
  • Image Collections
  • Hyperlinks
  • Hotspots

How to access image parameters from FSI Server?

FSI Server can be queried for information on a specific folder or image by simple HTTP Request, e.g.

http://[domain]/fsi/server?type=info&tpl=info.json&source=samples/sample_image.tif

and will return a JSON file containing the related information. Depending on the type= and tpl= parameters, different information can be retrieved dynamically. You can read more about the server addressing in the Appendix of the FSI Server manual.

In which case will these values be retrieved automatically?

FSI Viewer tries to retrieve the parameters ImageWidth and ImageHeight from the server if one of these values has not been defined manually. If the server delivers additional parameters (e.g. ImageTilesX, ImageTilesY) these parameters will only have an effect if they have not been defined manually.