Configuration#
The Product Image Module uses some settings from the [product] section of
the configuration file.
image_filestore#
This configuration value indicates whether the image should be stored in the
trytond.filestore (True) or the database (False).
The default value is: False
ìmage_prefix#
This is the prefix to use with the trytond.filestore.
This value is only used when the image_filestore setting is in use.
The default value is: None
image_size_max#
The is the maximal horizontal and vertical size in pixels for the stored images.
The default value is: 2048
image_base#
The base URL for the images, without the path.
The default value is generated from the hostname configuration setting.
image_timeout#
The maximum time in seconds that the image can be stored in cache.
The default value is: 365 * 24 * 60 * 60 (1 year)