You are here

function imagepicker_browse_public in Image Picker 5.2

Same name and namespace in other branches
  1. 6.2 imagepicker.functions.inc \imagepicker_browse_public()
  2. 7 imagepicker.functions.inc \imagepicker_browse_public()
4 string references to 'imagepicker_browse_public'
imagepicker_admin_images in ./imagepicker.module
imagepicker_browse_public_form in ./imagepicker.module
imagepicker_browse_public_form_submit in ./imagepicker.module
imagepicker_menu in ./imagepicker.module
Implementation of hook_menu().

File

./imagepicker.module, line 629
Enables permitted roles to upload images for insertion into configured nodes.

Code

function imagepicker_browse_public() {
  if (arg(2)) {
    imagepicker_image_select(arg(2), FALSE, TRUE);
    exit;
  }
  $content = _imagepicker_browse_public();
  theme('imagepicker', $content);
}