Specify image dimensions and serve scaled images issue

Posted in: Newspaper
Post count: 13

Hi,

Newspaper theme is great with one flaw, images..

My gtmetrix score was %50-%60 when I’ve installed the theme first time, I’tried high caching etc. now It is %75.

But, I cannot increase this no matter I do, due to the two issues according to gtmetrix.

I use dedicated, cdn, %100 caching..

Specify image dimensions F (0)
Serve scaled images F (16)

Is there any solution for these?

Post count: 260

First. Use Force regenerate thumbnails plugin
Second. You neet crop all your post images 696px for style whit sidebar. and 900px if you dont use sidebar on your post.

Thats all

Post count: 6600

Hi,

Thanks @Ing Geek!

@dragon
I’m not aware of any scaled images served on desktops so please also provide a link so I can inspect and test your site and use force regenerate plugin like @Ing Geek suggested and make sure all your images regenerate successfully without errors.

Thanks for the message!

Post count: 13

Many thanks to @Ing Geek his solution solved both of the problems, my score is now increased to above %90!

Post count: 13

Same here. I tried Forece regenerate and resize 696. but nothing change.

Please help me fix this.

Post count: 9544

@kaixer
link to an example page ?

Post count: 13

HI,

Please check here – http://layanable.net/hiburan/filem-tv/14-filem-pixar-yang-anda-wajib-tonton/

This is my GTmetrix result – http://gtmetrix.com/reports/layanable.net/Qj5MYWZ9

Not only post content but also logos. FYI, I use cdn and 100% caching.

Thank you 🙂

  • This reply was modified 11 years by kaixer.
  • This reply was modified 11 years by kaixer.
Post count: 6600

Hi,

That post isn’t available anymore: http://screencast.com/t/KgqVriqJem6a
According to gtmetrix you still need to optimize images. I suggest you use a plugin for that or add the following code in functions.php file:

add_filter( 'jpeg_quality', create_function('', 'return 50;' ) );

This will compress all images to 50%, you can change that value, after you add the code you have to regenerate all thumbs – https://forum.tagdiv.com/how-to-fix-strange-thumbnails/ and also empty all caches and purge CDN files.

That reported scaled images seems to be on tables landscape view where they are scaled using css: http://screencast.com/t/kK4sfEqrK however that is the way they are designed.

Thanks

Post count: 65

Does anyone know why these three theme images would cause an F in the Gmetrix speed test.

It’s the small video arrow x 2 and the logo which have this error message “The following image(s) are missing width and/or height attributes”

Speed test result

How to fix? thanks

  • This reply was modified 10 years by Michael.
Post count: 1291

Hi,

Those missing parameters are not important, on the video icon you could add a height parameter and see if it the warning is still there – http://screencast.com/t/AoaEC8MDW
You could also try the same on logo, but add both height and width – http://screencast.com/t/KJDfazlMUBV

Thank you!

Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newspaper’ is closed to new topics and replies.