--To view this discussion on the web visit https://groups.google.com/d/msgid/pagespeed-insights-discuss/CACsObMO0i%2Bvp0Bk-ddVY9r42Pg-ChCZxdTN-Qy%3DjzEdkzPnhLA%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "pagespeed-insights-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pagespeed-insights-...@googlegroups.com.
Optimizar estas imágenes para reducir su tamaño en 297,1 KB (reducción del 97%).
Ok,let me see and i'll change it. But i have "commented" the javascript that resize the image. i'll test it and tell you the results.Best regards,
2014-07-24 16:42 GMT+02:00 'Dave Mankoff' via pagespeed-insights-discuss <pagespeed-insights-discuss@googlegroups.com>:
Howdy Folks.We just updated the release to fix the original issue.Miguel - there's only one image that it's complaining about now. The Yoda image that you have on your site needs to be scaled down.Marco - the score for Smashing Magazine is at 86 with the new release. This is as compared to an 87 in the previous release. Most of the gains will come from optimizing the images, rather than resizing them.
Assuming that this change seems reasonable, we'll be rolling out this change globally in a few days.Hopefully the <picture> tag somes into play soon. I know that it's shipping in Chrome 38 and Firefox 33: http://caniuse.com/#feat=picture-dave mankoff
--
You received this message because you are subscribed to the Google Groups "pagespeed-insights-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pagespeed-insights-discuss+unsub...@googlegroups.com.
Hi Dave
How to fix this in wordpress
In short, we think this is coming from the fact that your images don't match the size that they are displayed at. In some cases, you display them at a smaller dimension, and in some cases you display them at a larger dimension.
On mobile, for instance, you take the image that you linked which is 260x265, and display it at 315x250
Can you provide a how to fix this? Alternatively, provide a guide or some
code to insert in child themes. Alternatively, tell which plugin to use? or a link.
Please note, that many are designers, not developers, so please inform in an
easy how to do :)
Looking forward to your reply, so we can fix this issue
So, if you have an image with 80x80 pixels and you "draw" it in your HTML, for example, at 150x150 pixels you are "forcing" the browser to calculate the up-scale from 80 to 150 making a delay for it. For all of this, it's better for the performance in page rendering, that you try to display your image with his native resolution (80x80) to avoid the up or down-scale size "by the browser".
You can reduce the size of an image without loss quality using programs like optipng (for png) or jpegtran (for jpg). So reducing the image size you reduce the download time when the image it's not loaded in the cache.
Hello again :)
Thanks for your time! I really appropriate your help
Let us take
at look at this link.
http://minbageopskrift.dk/…wp-content/uploads/Daimkage-og-kaffe.jpg
I only upload photos into a gallery and
with a maximum size of 800x600 pixels.
I use a light box to display images.
I optimize images even before upload, and I have an optimization program so
that each image is optimized.
My theme makes the following sizes in my media library of this image.
120 x120
150x150
220x110
300x225
300x300
340x170
400x240
400x300
600x450
720x240
800x198
800x600
pixels
In page speed I get this:
Compressing and
resizing http://minbageopskrift.dk/…wp-content/uploads/Daimkage-og-kaffe.jpg
could save 83,7 KB (95 % reduction)
How can I optimize this image and achieving the reduction? 95%?
Does inserting more different sizes achieve the reduction?
Looking forward to your answer Miguel
I think that Dave and other pagespeed developers are trying to fix the problem.
For example in my web www.diariosdelanube.com i've got 98 in Mobile and desktop using the exact native resolution with each image. But it's not needed to do that because when they fix the scaling calculations, you could have 50% or more scaled size from the native image resolution.
Let's wait for the fix.
Best regards!!!
Best regards.
No, it's because you are using a plugin or javascript to scale the image. You have to upload the image in his native resolution without any transformation (if the image is a png with 800x600 you have to show the image like png at 800x600).
Try it, you'll see ;)
--
You received this message because you are subscribed to the Google Groups "pagespeed-insights-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pagespeed-insights-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pagespeed-insights-discuss/27125e5a-bf36-4a76-9b58-611e1e931734%40googlegroups.com.
Thank you very much.
Then I manage to get my page speed score back! Thank you - Miguel García Sánchez.
You were right.
@ Dave
Thanks. Ok, I got
it. I will keep that in mind.
I do not know why Wordpress does not link to the thumbnail in uploads folder, but to
the original image in the folder.
If it did, there were no problems.
Now I have to go and edit approx.
1000 posts manually.
And may the Force be with you both :D
As that is far from what could have been expected I went back into Photoshop and set the quality of the output image to 10% with a result of 760byte but the fragments are that crude... well, you would not want to use that image for your website.
I think you can already see the dilemma, whereas I perfectly understand the concern about huge images being rammed in small containers. The huge but which has to come in here is: the number of pixels in a jpeg/png image doesn't say much about its filesize, the number of colors is playing a much more important role (especially with PNG graphics).
That's why you won't get that many bytes out of an image, which is already in grayscale (max. 255 colors) and downscaled to a certain point, by downscaling it even more or raising the compression bar to "noone will ever know what that is". You are perfectly right when it comes to images above 500px and more. If they are larger than needed the option is always to scale them down in order to save lots and lots of pixels and thereby shrink the filesize a little bit more.
Anyways, I feel we are moving towards a brighter future already. <picture> gets more and more cred around the W3C resulting in a near-future support in modern browsers and new image formats are conquering the web as we speak.
Again, thanks for the time invested to discuss the issue here with me. =) Very much appreciated.