Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thanks for the quick support offer.

    Unfortunately I found out that it was my own postie-helper code that caused the error – I should certainly have tested before asking for help

    To further clarify the problem, here is the code snippet:

    function change_post_content( $post_content, $attachment_id ) {
     $medium  = wp_get_attachment_image($attachment_id, 'medium');
     $post_content .= $medium;
     return $post_content;
    }

    which inserts the following string in the new post:
    <img width="1" height="1" src="http://zenbrett.fritz.box/wp-content/uploads/2014/05/20140501-131342mws1.jpg" class="attachment-medium" alt="Maypole and St Florian statue" />

    where the image is exactly the image I was uploading

Viewing 2 replies - 1 through 2 (of 2 total)