Support » Plugin: Random Image widget » [Plugin: Random Image widget] Scaling doesn't work

  • To fix image scaling change the following lines:

    $sidebar ? $img_scale = ' height="150"' : $img_scale = ' height="' . $scale_y . '"';'
    and
    $sidebar ? $img_scale = ' height="150"' : $img_scale = ' height="' . $scale_x . '"';

    To

    $scale_y ? $img_scale = ' height="' . $scale_y . '"' : $img_scale = ' height="150"' ;
    and
    $scale_x ? $img_scale = ' width="' . $scale_x . '"' : $img_scale = ' width="150"' ;
    respectively

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Random Image widget] Scaling doesn't work’ is closed to new replies.