gpfup_skip_image_loader (JS)

  1. Description
  2. Usage
  3. Parameters
  4. Since

Description

Filter whether or not the image loader (Blueimp) should be skipped. This can be advantageous if large images are frequently uploaded.

The image loader handles automatically removing EXIF data along with resizing, cropping, and re-orienting the image. Bypassing the image loader does not prevent uploading.

Usage

gform.addFilter( 'gpfup_skip_image_loader', my_custom_function );

Parameters

  • skipLoader boolean

    Whether or not to skip sending the image to the loader (Blueimp).

  • formId int

    The current form ID

  • fieldId int

    The current uploader field ID

  • gpfupInstance GPFUPField

    Current File Upload Pro class instance

Since

This filter is available since Gravity Forms File Upload Pro 1.0.2.