Syntax

listImages( $usage_type )

Returns a list of your Digistore24 images.

Access rights

Read access or full access required

Arguments

usage_type – Purpose of the images, e.g. ‘product'. See the output of getGlobalSettings(), there the field image_usage_type.

Return data

A list with images e.g.:

Array
(
    [images] => Array
    (
        [0] => Array
        (
            [url] => https://d3prvp0id2r5kj.cloudfront.net/merchant_1/image/product/05CZEP6G
            [file_extension] => png
            [id] => 05CZEP6G
            [name] => 071VX0KZ
            [approval_status] => approved
            [usage_type] => product
            [alt_tag] =>
            [width] => 100
            [height] => 100
        )
        [1] => Array
        (
            [url] => https://d3prvp0id2r5kj.cloudfront.net/merchant_1/image/product/TLAO6KH1
            [file_extension] => jpg
            [id] => TLAO6KH1
            [name] => 0L7JKOQP
            [approval_status] => approved
            [usage_type] => product
            [alt_tag] =>
            [width] => 400
            [height] => 400
        )
)
);