<<

NAME

MT::Asset::Image

SYNOPSIS

    use MT::Asset::Image;

    # Example

DESCRIPTION

METHODS

MT::Asset::Image->class

Returns 'image', the identifier for this particular class of asset.

MT::Asset::Image->class_label

Returns the localized descriptive name for this type of asset.

MT::Asset::Image->extensions

Returns an arrayref of file extensions that are supported by this package.

$asset->metadata

Returns a hashref of metadata values for this asset.

$asset->thumbnail_file(%param)

Creates or retrieves the file path to a thumbnail image appropriate for the asset. If a thumbnail cannot be created, this routine will return undef.

$asset->as_html

Return the HTML IMG element with the image asset attributes.

AUTHOR & COPYRIGHT

Please see the "AUTHOR & COPYRIGHT" in MT for author, copyright, and license information.

<<