Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Jermon

    (@jermon)

    I fixed it I added this

    var preview_height = gf_aa_settings[‘preview_height’];

    below line 215

    of

    aviary-image-editor-add-on-for-gravity-forms/includes/js/gform-aviary.js

    Thread Starter Jermon

    (@jermon)

    Also I noticed the aviary version included in this plugin did not include all the tools currently available on the aviary website…so I added them…

    If you are curious how to do this…

    get the latest aviary tool set from this link:
    https://feather.aviary.com/js/feather.js

    find this file:
    aviary-image-editor-add-on-for-gravity-forms/includes/js/feather.js

    copy everything from https://feather.aviary.com/js/feather.js into
    aviary-image-editor-add-on-for-gravity-forms/includes/js/feather.js

    you will see a domain issue when trying to edit from instagram or facebook so

    go here in your plugin editor, to this file:
    aviary-image-editor-add-on-for-gravity-forms/includes/js/gform-aviary.js

    locate:
    function launchEditor()

    change to:
    function launchEditor(src)

    locate:
    var src = jQuery(‘#input_’+gf_aa_settings[‘id’]).val()

    change to:
    if(!src){var src = jQuery(‘#input_’+gf_aa_settings[‘id’]).val();}

    locate:
    #input_’+gf_aa_settings[‘id’]).val(image);
    jQuery(‘li#field_’+gf_aa_settings[‘id’]+’ #btn_gf_aa_edit’).show();
    jQuery.fancybox.close();
    }

    change to:
    #input_’+gf_aa_settings[‘id’]).val(image);
    jQuery(‘li#field_’+gf_aa_settings[‘id’]+’ #btn_gf_aa_edit’).show();
    jQuery.fancybox.close();
    launchEditor(image);
    }

    Update File

    Plugin Author Leon Kiley

    (@watersedgeweb)

    Hi! Thanks for the info! I’ll include these changes and the updated feather.js in the next patch.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not downloading pictures from facebook account’ is closed to new replies.