• Resolved lfdt

    (@lfdt)


    Hi !

    Just wondering if any of the tags %blog_url% or %template_url% already exist ? The purpose is to add images on the email template using this tags instead of absolute url, because it’s boring to edit the email template when a website go from local to his final url.

    Hope you can help,

    Seb.

    https://wordpress.org/plugins/wp-better-emails/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Nicolas Lemoine

    (@nlemoine)

    Hi lfdt,

    As shown in the help tab, you can use %home_url% and %blog_url% 😉

    Thread Starter lfdt

    (@lfdt)

    Hi hellonico,

    I didn’t think to open this tab, thanks for your help and support.

    I’ve found a tip that can be usefull for embedding small pictures like logos or icons : I’ve encoded them into base64. No more problems with urls and the benefit to have them displayed in the webmails…

    Just try : http://www.base64-image.de

    Bye !

    Plugin Author Nicolas Lemoine

    (@nlemoine)

    Hi lfdt,

    Base64 encoding is great but has a few drawbacks. See: https://www.campaignmonitor.com/blog/post/3927/embedded-images-in-html-email

    As this is a public plugin, I try to stick a maximum compatibility policy. I wish I could use base64, PHP 5.3+, CSS3 everywhere etc. Unfortunely, people still use out of date browsers, WordPress still support PHP 5.2, etc.

    Cheers !

    Thread Starter lfdt

    (@lfdt)

    Hi Nico,

    It seems I fell into the dark side (easier, faster, etc.) of image embedding. I read the campaign monitor post and change my mind about base64 embedding.

    Thanks again for your answer and advice.

    Seb.

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

The topic ‘%blog_url% or %template_url% ?’ is closed to new replies.