Tagged: load time, optimization, pictures
-
AuthorPosts
-
May 28, 2020 at 10:16 pm #1217531
Dear Enfold Team,
it would be great if you could compress the graphics of the theme for the next release in
/wp-content/themes/enfold/images/background-images/*
without loss (e.g. with tinypng.com).
In my case I can save about 50% when using “grain-top.png” (10.5 kB instead of 23 kB). This doesn’t change the world, but it reduces the page size and load time (and also customers look into GTMetrix and ask questions).
I can do it myself, but after each update the game starts all over again.
Thanks and best regards
JanMay 29, 2020 at 4:27 pm #1217783Hey Jan,
There are plenty of plugins available for that. Here is an article for you:
https://www.wpbeginner.com/plugins/optimizing-images-with-wp-smush-pro-cons-and-alternatives/If you need further assistance please let us know.
Best regards,
VictoriaMay 29, 2020 at 5:02 pm #1217800I know (and have written), that I can of course compress the graphics delivered with the theme.
But it would make much more sense, if you compress once the graphics delivered with the theme. Otherwise ist has to be done on every installation after every update…
Best regards
JanPS:
Plugins like wp-smush typically only work on the Media Library and not on the mentioned backgrounds contained in the theme.May 31, 2020 at 6:29 pm #1218233Hi jan_behr,
All the media files are served from the media library so plugins will affect them too. The demo images are not compressed for the clients to have the option to do it or not to do it. It’s a very individual decision.
Best regards,
VictoriaMay 31, 2020 at 7:18 pm #1218258Victroria,
my example was the file
/wp-content/themes/enfold/images/background-images/grain_top.png
This file (and all others of this theme directory) is not part of the media library, it is part of the theme. Plugins like ShortPixel oder Smush do not touch there Files.
My proposal is to compress the images (e.g. for backgrounds) of the theme losslessly. It is easy to compress this file by approx. 43% and the result is pixel by pixel the same.
This simple one-time action on the images of the theme will decrease the size of webpages and the visual result is exactly the same.
I really do not understand why you insinst, that enfold should include non-optimized backgrund images.
Best regards
Jan- This reply was modified 4 years, 5 months ago by jan_behr.
June 9, 2020 at 2:02 pm #1220854Hey!
Thank you for the info.
Are you using a lot of those background-images, or just this one image grain_top? The average size of the default image file in the background-images folder is around 30KB and some of them are less than 1KB, so it’s not really that much unless you’re using all images in that folder.
Regards,
IsmaelJune 9, 2020 at 2:14 pm #1220863Ismael,
from my point of view its only „best practise“ or „quality“ to optimize all Images. Its a (simple) one time work, that makes all websites made with enfold a little bit faster (and better).
Another aspect: This will improve the GTMetrix results of a website. Customers offen look at these tools…
Kind regards
JanJune 11, 2020 at 2:11 pm #1221694 -
AuthorPosts
- You must be logged in to reply to this topic.