You are here

function _imagegecache_token_image_attributes in Imagecache Token 7

Helper function for getting all available image attributes.

Return value

array All of the available image attributes.

1 call to _imagegecache_token_image_attributes()
imagecache_token_token_info in ./imagecache_token.tokens.inc
Implements hook_token_info().

File

./imagecache_token.tokens.inc, line 237

Code

function _imagegecache_token_image_attributes() {
  return array(
    'style_name' => NULL,
    'path' => NULL,
    'path:relative' => NULL,
    'width' => NULL,
    'height' => NULL,
    'extension' => NULL,
    'filesize' => NULL,
    'alt' => '',
    'title' => NULL,
    'mimetype' => NULL,
    'render' => '',
    'first' => '',
    'second' => '',
    'third' => '',
    'last' => '',
    'uri' => '',
  );
}