• Resolved aresgod22

    (@aresgod22)


    The steps of the maximum image size field vary one by one, so when I want to set the maximum size to 0.5 MB it’s not possible. I hope you can fix it to work like the JetEngine forms.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor hugreed

    (@hugreed)

    Hi, we will fix this bug in an upcoming update.

    If you need to fix this right now, you can add this filter in your child theme:

    add_filter( 'jet-form-builder/render/media-field', function ( $field_args ) {
    	if ( ! empty( $field_args['name'] ) 
              && 'your_media_field_name' === $field_args['name'] 
            ) {
    		$field_args['max_size'] = 0.5;
    	}
    
    	return $field_args;
    } );
    Thread Starter aresgod22

    (@aresgod22)

    Thank you so much! I appreciate your quick response

    • This reply was modified 3 years, 4 months ago by aresgod22.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Image size less than 1MB’ is closed to new replies.