Support » Plugin: LH QR Codes » size behaves odd

  • opicron


    When using the size attribute in /hr_qr_codes/ it is the size per pixel.

    However when using it in the shortcode it is used for the width/height in pixels totally.

    This behaviour results in blurry images no matter which size we choose.

    To fix it for me, we have to adjust the code slightly.

    //echo '<img src="'.$src.'" height="'.$size.'" width="'.$size.'" />';
    echo '<img src="'.$src.'" />';

    Any chance to review this?

  • The topic ‘size behaves odd’ is closed to new replies.