function _imagepicker_view_content in Image Picker 5.2
3 calls to _imagepicker_view_content()
File
- ./
imagepicker.module, line 4131 - Enables permitted roles to upload images for insertion into configured nodes.
Code
function _imagepicker_view_content($img, $imgpath, $info) {
$content .= '<div id="imgp_img_view">' . ($img['img_title'] ? '<div id="imgp_img_view_title">' . $img['img_title'] . '</div>' : '') . '<img id="imgp_img_view_img" src="' . $imgpath . '" alt="' . $img['img_title'] . '" title="' . $img['img_name'] . '" />' . ($img['img_description'] ? '<div id="imgp_img_view_desc">' . nl2br($img['img_description']) . '</div>' : '') . '<div>' . t('Width') . ": " . $info['width'] . " " . t('Height') . ": " . $info['height'] . " " . t('Type') . ": " . $info['extension'] . " " . t('Size') . ": " . $info['file_size'] . '</div></div>';
return $content;
}