Viewing 1 replies (of 1 total)
  • Plugin Author YOP

    (@yourownprogrammer)

    Hi martin.kreativermoment,

    You can set each answer as <img src="image-source" style="width: the-width-you-want; height=the-height-you-want;">

    Another method would be to inc/plugin-functions.php and in yop_poll_kses() function, replace

    'img' => array(
                    'src'   => array(),
                    'title' => array(),
                    'style' => array()
                ),

    with

    'img' => array(
                    'src'   => array(),
                    'title' => array(),
                    'style' => array(),
                    'class' => array()
                ),

    then set the answers as <img src="image-source" class="image_class">
    and also add the class

    .image_class{
    width:
    height:
    etc
    }

    in the template’s CSS section.

    Please let us know if you need more help.

    Best wishes,

    YOP Team

Viewing 1 replies (of 1 total)
  • The topic ‘Image as answer Class name or size?’ is closed to new replies.