• Agnes

    (@agneslesagegmailcom)


    I use a template that simply lists my newsletter content with
    <?php the_content(); ?> in the online WP version
    [CONTENT] in the HTMl version.

    The, in that content, I use the different placeholders provided by the plugin.

    When I use “[Thumb]” and choose ‘medium’ size, I do manage to render the newsletter featured image in medium size (590px wide in my WP setup)

    But when I use “[POST-THUMB]” and medium size, I only manage to get my small-size thumbnail (175×175).

    Is that a bug?
    Is there a workaround?

    Thansk,
    Agnes

    NB: a great fan of this 5-star plugin.

    http://wordpress.org/extend/plugins/alo-easymail/

    • This topic was modified 5 years, 6 months ago by Jan Dembowski. Reason: Fixed title
Viewing 1 replies (of 1 total)
  • use:

    <?php
    if ( has_post_thumbnail()) {
    $large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id($newsletter->ID), 'large');
    //print_r($large_image_url);
    $link_img = $large_image_url[0];
    //print_r ($link_img);
    }
    ?>
    
    <img src="<?php print_r($link_img); ?>" alt="image" />

Viewing 1 replies (of 1 total)
  • The topic ‘size does not reflect what I choose’ is closed to new replies.