Axiell WebAPI home page > Documentation > Axiell Piction image plugin

Axiell Piction image plugin

The Axiell WebAPI image server configuration

From WebAPI version 3.0.21175.1, an image plugin for the Piction DAMS is available: Axiell.Piction.Plugin.dll. As all other plugins it allows you or your Axiell system (by means of retrieval paths for image fields) to communicate with the DAMS-specific API via the Axiell WebAPI. An appropriate configuration in adlibweb.xml is all you need to retrieve digital content via wwwopac.ashx queries. For Piction you need a configuration similar to the following:

  <!-- Image server settings -->
  <imageServerConfiguration name="images">
    <servertype>FileSystem</servertype>
    <path>C:\Data\Projects\model5.0\images</path>
    <ImagePlugin type="Axiell.Piction.Plugin.PictionPlugin, Axiell.Piction.Plugin">
      <BaseUrl>https://dax.piction.com</BaseUrl>
      <InstanceName>piction</InstanceName>
      <UserName>axiell_api</UserName>
      <Password>axiell</Password>
      <Renditions>T</Renditions>
    </ImagePlugin>
  </imageServerConfiguration>

  <imageServerConfiguration name="documents">
    <servertype>FileSystem</servertype>
    <path>C:\Data\Projects\model5.0\images</path>
    <ImagePlugin type="Axiell.Piction.Plugin.PictionPlugin, Axiell.Piction.Plugin">
      <BaseUrl>https://dax.piction.com</BaseUrl>
      <InstanceName>piction</InstanceName>
      <UserName>axiell_api</UserName>
      <Password>axiell</Password>
      <Renditions>1</Renditions>
    </ImagePlugin>
  </imageServerConfiguration>

Each Piction server will have its own BaseURL, InstanceName, UserName and Password (all mandatory parameters) so it depends on the customer utilizing a Piction server how these parameters must be set. The configured Renditions can be one or multiple of the values (T, W, 1, 2, and/or 3, without any separator between multiple values):
T = thumbnail - this is always an image
W = web preview - this is always an image
1 = a viewable rendition of a document (e.g. a PDF)
2 = a playable rendition of a video
3 = a larger version of an image
The example configuration returns only thumbnail renditions for the images and viewable renditions of documents for the documents server. If you specify multiple renditions (like T1) the API will return whichever comes first in the order 1, 2, 3, T, W.

Only retrieval functions have been implemented. New content must always be added through Piction itself.