• Hi

    Thank you for an awesome plugin. It sends my forum mails perfectly. The only thing I can’t figure is how to show images correctly in the email body!

    If I insert/attach an image it shows up on the website, but in the mail body I only get a placeholder image (https://langeintra.dk/wp-content/plugins/buddyboss-platform/bp-templates/bp-nouveau/images/placeholder.png). The real image is only linked as “data-src”:

    <img src="https://cci.local/wp-content/plugins/buddyboss-platform/bp-templates/bp-nouveau/images/placeholder.png" data-src="https://cci.local/wp-content/uploads/2021/05/Torben-Heikel-Vinther-kvadrat.jpg" class="no-round photo lazy" alt="Torben Heikel Vinther">

    Furthermore, above the image is a delete-link inside a div-class:

    <div class="media-action-wrap"><a href="#" class="media-action_more" data-balloon-pos="up" data-balloon="Flere handlinger" target="_blank"><i class="bb-icon-menu-dots-v"></i></a><p></p>
    <div class="media-action_list">
    <ul class="conflict-activity-ul-li-comment">
    <li class="delete_file media-action-class"><a class="media-file-delete" data-item-activity-id="0" data-parent-activity-id="" data-item-from="activity" data-item-id="7" data-type="media" href="#" target="_blank">Delete</a></li>
    </ul></div>
    <p></p></div>

    I guess the issue could relate to the way BuddyBoss does things, but maybe you or other have a solution?

    Best regards
    Torben

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author useStrict

    (@usestrict)

    Hi Torben,

    This is because BuddyBoss transforms images so that they lazy load. This causes a problem with the emails because the lazy-loading javascript does not work in emails (or any javascript, for that matter).

    I have just committed 2.15.3 where I disable buddyboss’ autoembed (which does the lazy loading) during mailouts.

    Please update and let me know how it goes.

    Cheers,
    Vinny

    Thread Starter Torben Heikel Vinther

    (@tohevi)

    Hi Vinny

    Thank you very much for your quick answer. Respect!

    Unfortunately, your update didn’t solve my issue. It looks completely the same as before.

    Cheers,
    Torben

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Images in body hidden behind bp-nouveau placeholder’ is closed to new replies.