WordPress.org

Ready to get started?Download WordPress

Forums

Images Meta
All file paths are wrong? (4 posts)

  1. deadelvis
    Member
    Posted 2 years ago #

    All file paths seem to be wrong :(

    wp_enqueue_script( 'images-meta', get_bloginfo( 'template_url' ).'/include/images-meta/images-meta.js' );

    jQuery.get( templateurl+"/include/images-meta/ajax.php?id="+id+"&detachImage="+id, function(data) {

    etc...

    http://wordpress.org/extend/plugins/images-meta/

  2. deadelvis
    Member
    Posted 2 years ago #

    whow... this plugin seems totally broken!
    and why isnt wp-admin/admin-ajax.php used instead?

  3. Dielo
    Member
    Posted 2 years ago #

    Any luck with this plugin?
    I'v fixed the wrong paths, but it still can't make the buttons detach and delete works.

    Thanks!!

  4. deadelvis
    Member
    Posted 2 years ago #

    No... so broken I decided to write my own plugin instead. Still working on it.

    You might want to try and:
    - fix the paths on the JS file too. I seem to remember there was an undefined path variable in there too.
    - Fix ajax.php line
    include "../../../wp_load.php";
    to
    include "../../../wp-load.php";

    Amazing how broken the whole thing is.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic