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
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 #1217783
There are plenty of plugins available for that. Here is an article for you:
If you need further assistance please let us know.
VictoriaMay 29, 2020 at 5:02 pm #1217800
I 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…
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 #1218233
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.
VictoriaMay 31, 2020 at 7:18 pm #1218258
my example was the file
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.
June 9, 2020 at 2:02 pm #1220854
- This reply was modified 3 years, 3 months ago by jan_behr.
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.
IsmaelJune 9, 2020 at 2:14 pm #1220863
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…
JanJune 11, 2020 at 2:11 pm #1221694
- You must be logged in to reply to this topic.