function imagepicker_user_upload in Image Picker 5
Same name and namespace in other branches
- 5.2 imagepicker.module \imagepicker_user_upload()
- 6.2 imagepicker.upload.inc \imagepicker_user_upload()
- 7 imagepicker.upload.inc \imagepicker_user_upload()
1 call to imagepicker_user_upload()
File
- ./
imagepicker.module, line 1239 - Enables permitted roles to upload images for insertion into configured nodes.
Code
function imagepicker_user_upload() {
variable_del('imagepicker_advanced_browser_pagestart');
$content .= "<div class='imgp_help'>" . t('Upload images. You can give them a title and description') . "</div>";
$content .= drupal_get_form('imagepicker_upload_form', TRUE);
return $content;
}