- This topic has 39 replies, 5 voices, and was last updated 2 years, 4 months ago by David.
December 26, 2017 at 10:10 am #457288Janine
I know that WP automatically creates thumbnail sizes that I may or may not need.
Does GP do anything different with uploaded images?
And what is your recommendation for making sure that no unnecessary images are created when I upload images?
Thanks, Janine.GP Premium 1.5.6December 26, 2017 at 8:21 pm #457529TomLead DeveloperLead Developer
GP will only create additional sizes if you have custom sizes set in the blog settings: https://docs.generatepress.com/article/adjusting-the-featured-images/
If you see other sizes being created, it’s likely due to a plugin you’re using.
Let me know if you need more info 🙂December 27, 2017 at 3:15 am #457692Janine
I don’t have a plugin creating any other images.
In media settings, I have set the thumbnails to 150×150 for related posts images.
And I set the large image setting to 650×0, which seems to be the width of my post content area in Inspect.
I just want to make sure that I don’t create any unnecessary images.
I have another problem:
Also, I uploaded 10 images to a post, and they don’t look crisp. But they look crisp before I uploaded them. Any ideas?
Thanks, Tom.December 27, 2017 at 10:34 am #457956TomLead DeveloperLead DeveloperFebruary 17, 2018 at 3:46 am #498713Janine
1) Below is a link to how I configured my Appearance > Media settings:
2) But in this Reply: #457529, you stated that “GP will only create additional sizes if you have custom sizes set in the blog settings”
However, I am getting two files per uploaded image (width 1280px):
And here’s a list of my installed plugins:
3) Also, since I’ve set everything to zero, how will WP do if I need a thumbnails size like for related post plugin?
Or could I use your WP Show Posts plugin to configure related posts?
Thank you!February 17, 2018 at 9:02 pm #499262TomLead DeveloperLead Developer
Is there any specific reason you have them set to 0? Sometimes it’s helpful to have the different sizes added (srcset etc..).February 18, 2018 at 4:13 am #499404Janine
My site will be image heavy.
I want to make sure that I don’t create any unnecessary image sizes. I read these articles:
But honestly, now I am confused on how to handle my images efficiently. I respect your opinion if you have one.
Also, what is srcset?
Thank you.February 18, 2018 at 4:45 am #499415Janine
when I use the code as specified here: https://goo.gl/H6FnTj
This is what the output in my uploads folder on cPanel looks like for that image:
To a newbie like me, it still seems to be creating images other than the one I uploaded.
Thank you.February 18, 2018 at 7:57 am #499583Janine
Oh, I forgot to mention that I set the Settings > Media back to the WP defaults, before running this last test.February 18, 2018 at 10:14 am #499655TomLead DeveloperLead Developer
A few of those are because of srcset. srcset makes it so different sized images show at different screen sizes. If I’m on mobile, the 768px wide image is loaded for me. This makes it so I’m not loading a 1200px wide image on mobile.
I wouldn’t recommend removing/not generating those images – they’re worth it.February 18, 2018 at 10:21 am #499661Janine
Thank you, Tom.February 18, 2018 at 10:24 am #499664Janine
So, if it was you, would just leave the WP defaults alone and not try to interfere with its image handling in ay way? Thank you.February 18, 2018 at 10:27 am #499668TomLead DeveloperLead DeveloperFebruary 18, 2018 at 10:30 am #499675Janine
Thanks, Tom.February 19, 2018 at 7:59 am #500285Janine
Tom, how would you handle image size for retina displays? Should I still resize images to the width of my post content area or sidebar content area?
- You must be logged in to reply to this topic.