Skip to main content

Where is the detect Images as Files option in the First Spirit API ?

Comments

5 comments

  • Zendesk API User
    Author: Windmüller - 9/28/2023 9:42

    I am not quite sure which ServerManager option you are referring to. The API provides the method Media#getType, does that help?

    0
  • Zendesk API User
    Author: lleppert - 9/28/2023 10:38

    In the Edit Project Menu you find the Compatibility option, and within, the final option is Detect Images as a File. 

    and i want to change this using the API 

    Hope that helps 

    0
  • Zendesk API User
    Author: Windmüller - 9/28/2023 13:38

    There is an existing agent called "MediaConstraintsAgent" with a method "setFileExtensions". However, that agent is currently not part of the stable API and may change without notice.

    If you require stable API for this use case, please open a support ticket describing your use case.

    0
  • Zendesk API User
    Author: lleppert - 9/28/2023 15:09

    Thank you  it works now

    0
  • Zendesk API User
    Author: Windmüller - 9/28/2023 15:53

    You are welcome.

    But please take my advise seriously: If your code is used in a productive environment, it should use the stable API only. Otherwise an update of FirstSpirit may break your code.

    0

Please sign in to leave a comment.