9,077 reputation
2660
bio website digitalnature.eu
location
age
visits member for 3 years, 11 months
seen Nov 25 at 19:37

Oct
1
awarded  Nice Question
Sep
30
awarded  Explainer
Sep
11
awarded  Nice Answer
Aug
8
awarded  Nice Question
Jul
26
awarded  Nice Question
Jul
2
awarded  Curious
Jun
2
awarded  Necromancer
May
6
awarded  Necromancer
May
3
awarded  Nice Question
Feb
22
awarded  Notable Question
Feb
2
awarded  Popular Question
Dec
26
awarded  Notable Question
Dec
23
awarded  Nice Answer
Dec
14
awarded  Yearling
Dec
12
revised Why do Custom Nav Menus generate so many classes on list items? Can I manage this somehow?
deleted 32 characters in body
Nov
4
comment How to resize images due to container width automatically server side/without CSS
I would serve the original size, or at least larger thumbnails, and let the browser downscale them to half the size. This improves quality on high-dpi displays (google "optimize site for retina displays"). You can also use lazy-loading techniques to save bandwidth
Nov
2
comment How to resize images due to container width automatically server side/without CSS
Think about it- 20 visitors on your site, let's say 10 different screen sizes that trigger the resizing function. That's 10 extra images, 100% cpu, and most likely the page being served in 2-10 seconds to them because of that. Not only that it's absurd, but having any more than one thumbnail size is not worth it anymore. Today all browsers do HQ resize and images don't use that much bandwidth
Nov
2
comment How to resize images due to container width automatically server side/without CSS
Sounds like a XY problem. I;m pretty sure you're trying to solve a problem that doesn't exist, and in the wrong way :)
Oct
21
comment Is it possible to use wp_localize_script to create global JS variables without a specific script handle?
Simply add your inline JS inside the theme. That's exactly what wp_localize_script does anyway. With both methods, the variables are accessible from any script
Oct
21
revised How can I edit the content in index.php?
deleted 61 characters in body