Skip to main content
Documentation & User Guides | Fotoware

Document types

Overview

This article lists all possible values of the doctype attribute of an asset in the API. This attribute specifies the asset type and determines which fields are present in the attributes subsection.

Document types

Value

Attribute fields

Description

Image

imageattributes, (photoAttributes)

A still image file, such as JPEG, TIF, PNG.

Movie

videoattributes

A video file, such as MP4, MOV, FLV.

Audio

 

An audio file, such as WAV, MP3, AAC.

Document

documentattributes

A document or presentation file with one or more pages or slides, such as PDF, DOC, PPT.

Graphic

 

Vector based graphics

Generic

 

All other file types

Note that photoAttributes is optional. It is only present if camera (EXIF) data is included in the image.

Remarks

Generally, it is better to check explicitly if a field in attributes is present rather than checking doctype.  However, API clients can rely on these fields to be present based on document type. For example, when writing an application that works only on images, then the application can use and depend on attributes within imageattributes.

Which asset is classified as which document type can be configured on the server. The default configuration should cover most common file types. For a list of file types supported by FotoWeb, see Supported file formats.

  • Was this article helpful?