I am using Aqua resizer to resize thumbnail on my loop. More flexible than using thumbnail from WordPress. The problem is, image result by Aqua Resizer's has no width and height pixel. The are missing width and/or height attributes. It's decrease the load speed as shown by GTmetrix.
Here my code to call the image on the loop:
<?php $thumb = get_post_thumbnail_id();
$img_url = wp_get_attachment_url( $thumb,'full' );
$image = aq_resize( $img_url, 150, 200, true, true, true );
?>
<img src="<?php if($image) { echo esc_url($image);
} else {
echo catch_that_image();} ?>" alt="<?php echo get_bloginfo('name'); ?>"/>
Would really appreciate your help.
Thank you.