WordPress.org

Forums

ALO EasyMail Newsletter
[POST-THUMB] size does not reflect what I choose (2 posts)

  1. Agnes
    Member
    Posted 2 years ago #

    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 (175x175).

    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/

  2. Wondercore
    Member
    Posted 2 years ago #

    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" />

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • ALO EasyMail Newsletter
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.