You are here

function theme_fupload_imagepreview_img in Image FUpload 6.3

Same name and namespace in other branches
  1. 6.2 includes/images.previewlist.inc \theme_fupload_imagepreview_img()

Custom theme for preview image (not imagecache image)

1 theme call to theme_fupload_imagepreview_img()
_fupload_imagepreview in includes/images.previewlist.inc

File

includes/images.previewlist.inc, line 157

Code

function theme_fupload_imagepreview_img($image, $image_info, $node_image, $attributes) {
  $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;
}