Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Stefano Lissa

    (@satollo)

    You should look at the source of the email you’re composing to find the inserted url of each image. Then copy it on a browser to see if the image is loaded.

    Same problem for me.
    Adding an image via url is OK, but not from the wordpress media browser.

    When I look at the source, the url of the image is undefined too (url.com/undefined)

    However, the images from posts and custom posts are loaded

    Thread Starter Hansii

    (@hansii)

    Like is said when i look at the source it say’s url.com/undefined

    When i check the media uploader the image is there and it is working fine.

    WHat can i do to remove this problem that many people seem to be having?

    Plugin Author Stefano Lissa

    (@satollo)

    On some WordPress, and I don’t know why, the javascript which gets back the image url get an undefined.

    If someone of you can give me an administrative access (stefano@satollo.net) I can try to debug the javascript.

    Thread Starter Hansii

    (@hansii)

    Ok ik will contact you.

    Another question can i stop the Undelivered Mail Returned to Sender” emails wich i keep getting because there are some false email adresses in my list?

    Plugin Author Stefano Lissa

    (@satollo)

    For each returned email you should delete the corresponding address. Using external services like sendgrid, you can get the bounce detection: they give you a list and you can import the bounced list so newsletter won’t contact those address anymore.

    i do have the exact same problem. when i insert an image to a newsmail, the image source is url.tld/undefined
    strange is, it worked a few days ago, now its broken. updated to the newest version (wp & nlp) but still no luck.

    any news on this topic?

    i hacked it on my own

    you need to find file edit.php, it is located in wp-content/plugins/newsletter/emails

    in edit.php replace

    window.send_to_editor = function(html) {
      imgurl = jQuery('img',html).attr('src');
      //jQuery('#upload_image').val(imgurl);
      tinyMCE.execCommand('mceInsertContent',false,'<img src="' + imgurl + '" />');
      tb_remove();
    }

    with

    window.send_to_editor = function( html ) {
      var imgURL = html.match( /src=\"(.*?)\"/ );
      tinyMCE.execCommand( 'mceInsertContent', false, '<img src="' + imgURL[1] + '" />' );
      tb_remove();
    }
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Images not working’ is closed to new replies.