function theme_fupload_imagepreview_image in Image FUpload 6.3
Custom theme for preview image (not imagecache image)
1 theme call to theme_fupload_imagepreview_image()
- _fupload_imagepreview in includes/
images.previewlist.image.inc
File
- includes/
images.previewlist.image.inc, line 165
Code
function theme_fupload_imagepreview_image($image, $image_info, $node_image, $attributes) {
// TODO - Use theme('image') - http://api.drupal.org/api/function/theme_image/6
$content = '<img src="' . file_create_url(file_create_path($image)) . '" width="' . $image_info['width'] . '" height="' . $image_info['height'] . '" title="' . $node_image->title . '" alt="' . $node_image->title . '" class="image_fupload_preview_image"' . (!empty($attributes) ? " " . $attributes : "") . ' />';
return $content;
}