WordPress.org

Ready to get started?Download WordPress

Forums

Add Local Avatar
Javascript not functioning, including error (4 posts)

  1. mortydot
    Member
    Posted 6 months ago #

    Hi,

    After updating this plugin to latest version, the javascript based functions are not working anymore. My firebug gives the following error on the console for javascript debugging:

    TypeError: parent.avatar_refresh is not a function
    parent.avatar_refresh(jQuery('.avatar_avatar img.avatar').attr('src'));

    Any suggestions?

    http://wordpress.org/plugins/add-local-avatar/

  2. mortydot
    Member
    Posted 6 months ago #

    Another bug; plugin now adds a aditional / befor the image file location of the popup (image of resizing on the right):

    <div style="width: 489px; height: 260px;">
    <img id="avatar_upload" src="//dded6896-ac23-4024-950a-ffbc08bd9539.jpg">
    </div>

  3. mortydot
    Member
    Posted 6 months ago #

    Another update; previos version of the plugin also has the javascript error, but there the 'rescaling' tools apear on the image. With incorrect sizes (alwas small, does not remember previous scale).

  4. mortydot
    Member
    Posted 6 months ago #

    Another update,

    Seems that $files[BASE_FILE] contains a additional / before the image url.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.