• Resolved oldcode

    (@coconutcoder)


    Given that our site is on a GoDaddy shared hosting server, which does not allow FFMPEG for image autogeneration, we want the user to be required to upload or use the blue “Capture Image” button. Is there a way to do this?

Viewing 1 replies (of 1 total)
  • Plugin Contributor wpvideogallery

    (@wpvideogallery)

    Apologies. There is not any setting to make to the “Image” field as required easily. I promise we would have an option for this in the future. As an immediate solution, you can edit our source file and make the field required. Kindly follow the steps below,

    1. Edit open the file /wp-content/plugins/all-in-one-video-gallery-premium/premium/public/assets/js/public.js

    2. Locate the following code (line #130-133),

    case 'image':
        can_validate = true;
        pattern      = /jpg|jpeg|png|gif/;
        break;

    3. Replace it as,

    case 'image':
        can_validate = true;
        is_required  = true;
        pattern      = /jpg|jpeg|png|gif/;
        break;

    4. Save the changes, clear both your browser and site cache and check now.

    Hope this solved your issue!

Viewing 1 replies (of 1 total)
  • The topic ‘Make “Capture Image” button a required field’ is closed to new replies.