Support » Plugin: WPeMatico » WPeMatico image source

  • datoseb


    I apologize that here on this topic I bring:

    Is it possible to do this in a one Campain to put the image tag with a custom size. The problem is that it is one of the page where i get a news is redesigned their website and they are using very high-resolution images that do not fit mine. Please, is it possible to make a custom image tag as eg html tag to Post template in singel Campain something as:

    <img src=”<?php post_image(); ?>” width=”50%” height=”50%”/>

    Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author etruel


    the {image} on post-template in every campaign has a css class. called “wpe_imgrss”

    if you use this, you get in your post content
    <img class="wpe_imgrss" src=" . $image_url . ">

    then you can add in your theme style.css
    .wpe_imgrss { width:50%; height:50%; }

    hope this help 😉


    Can i use it like this : {content}<img class=”wpe_imgrss” src=” . $image_url . “>

    And ofc adding .wpe_imgrss { width:50%; height:50%; } into my template css?

    Thanks in advance

    I have one source which their posts have into text a large images.

    Plugin Author etruel


    you can’t use PHP code into campaign-post-template…
    maybe works if you are using a plugin for allow PHP code in post content but it’s unsafe I think.

    you also can use


    Is the picture not included in the {content} ? There should be a way to separate them.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WPeMatico image source’ is closed to new replies.