You are here

function image_fupload_image_status in Image FUpload 6.3

returns a identifier for images so that their status (current step) can easily be set

8 calls to image_fupload_image_status()
fupload_empty_queue in ./image_fupload.module
fupload_filetransfer in ./image_fupload.module
fupload_list_images in includes/images.previewlist.inc
fupload_list_images_image in includes/images.previewlist.image.inc
fupload_list_images_image_submit in includes/images.previewlist.image.inc

... See full list

File

./image_fupload.module, line 77

Code

function image_fupload_image_status($field_name, $status = IMAGE_UNMACHINED) {
  switch ($status) {
    case IMAGE_NOT_COMPLETED:
      return "<!--" . $field_name . "/" . IMAGE_NOT_COMPLETED . "-->";
      break;
    default:
      return $field_name . "/" . $status;
      break;
  }
}