function imagepicker_upload in Image Picker 6.2
Same name and namespace in other branches
- 5.2 imagepicker.module \imagepicker_upload()
- 5 imagepicker.module \imagepicker_upload()
- 7 imagepicker.upload.inc \imagepicker_upload()
1 call to imagepicker_upload()
- imagepicker_box in ./
imagepicker.functions.inc - all iframe links pass through here
File
- ./
imagepicker.upload.inc, line 14
Code
function imagepicker_upload() {
$content = '';
variable_del('imagepicker_advanced_browser_pagestart');
if (variable_get('imagepicker_upload_progress_enabled', 1)) {
$content = imagepicker_upload_progress_get_script(variable_get('imagepicker_upload_progress_delay', 0));
}
$content .= imagepicker_quota_ok('iframe', FALSE, '', t('Upload images. You can give them a title and description'));
return theme('imagepicker_iframe', $content);
}