Big problem with mobile images

Posted in: Newspaper
Post count: 39

Hello to everyone. First of all I would like to make a tiny contribution to the forum. In found an excelente and free way to compress images. Just go to kraken.io and upload the images you want to compress. Their free service is really great.

My problem is that in mobiles versions my images are not properly resized and therefore google page speed is giving my site a low score. In my last post (where I use large images), the mobile version of the site did not change it size to adapt, so the score is the lowest I have ever seen: https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fvivisaludable.com%2Festilos-cabello-tutorial%2F&tab=mobile

Is there a way to tell the site to resize the images for mobile instead using the original size (desktop). I have searched in the forum but I was not able to find a solution to this.

Thanks in advance!

Post count: 6600

Hi,

Thanks for sharing!
I can’t see a way on how you can easily do this, you would have to modify the code, and add conditions to detect the screen’s width and use other thumb size or build another page and enable it for mobiles only via js, either way it’s not an easy task.
Another way would be to use a plugin to manages and customize your mobile content, you could try WordPress Mobile Pack for example(I’m not sure if helps with adding a new image size on mobiles but you can go trough the description/FAQ and see what you can do to your site using it..) or another similar.
Leaving all these aside I don’t think you have to do this. If you look to the page-speed result the suggested fixes don’t specifically include changing the way images are loaded: "Properly formatting and compressing images can save many bytes of data" this manes that you would consider finding another way to properly format/compreess iamges: https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/image-optimization or you can go trough this topic as this issues where discussed over and over again: https://forum.tagdiv.com/topic/pagespeed/
Another matters which affects your page speed are this: http://screencast.com/t/0gVaRWv1CfVJ
so you should also consider fixing those also.
Hope this helps!

Thanks

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