function theme_textimage_image in Textimage 5.2
Same name and namespace in other branches
- 5 textimage.module \theme_textimage_image()
- 6.2 textimage.module \theme_textimage_image()
- 7.2 textimage.module \theme_textimage_image()
Theme function for displaying textimages
2 calls to theme_textimage_image()
1 theme call to theme_textimage_image()
- textimage_field_formatter in ./
textimage.module - Implementation of hook_field_formatter().
File
- ./
textimage.module, line 919
Code
function theme_textimage_image($preset, $text, $additional_text = array(), $format = 'png', $alt = '', $title = '', $attributes = array(), $getsize = TRUE, $image = TRUE) {
if (!($path = textimage_build_image('theme', $preset, $text, $additional_text, $format))) {
return FALSE;
}
if ($image) {
return theme('image', $path, $alt, $title, $attributes, $getsize);
}
return $path;
}