Viewing 9 replies - 1 through 9 (of 9 total)
  • Jld142

    (@jld142)

    Also interested in the solution for this.

    Ditad, did you ever solve this issue ?

    I was able to change the width with with the thumb_width=”” arg, but I can’t get the thumb_height=”” arg to work.

    I’m also interested in this. Robcruiz, where did you insert the thumb_width=”” arg? In which of the plugin’s files? Thanks!

    OK, sorted this out. In the functions.php file of the plugin search for `if ( $image ) :
    $html .= ‘<img class=”‘ . esc_attr( $args[‘thumb_align’] ) . ‘ rpwe-thumb” src=”‘ . esc_url( $image ) . ‘” alt=”‘ . ‘” width=”300’ . ‘” height=”150’ . esc_attr( get_the_title() ) . ‘”>’;` and add the width and height as I did above.

    Actually the above code gives html5 error. Any ideas what the correct code is?

    Plugin Author satrya

    (@satrya)

    It might be will fix in the next release soon 🙂

    Hello,

    Has this fix been released yet? If not, how can we modify the code to specify width and height of images? It’s important for page speed.

    Thanks

    I guess this update never happened? So, how can we specify the width and height to get the GTmetrix scores up?

    Also, why is this marked resolved? It’s not.

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

The topic ‘Thumbnails are missing width and height attributes’ is closed to new replies.