Archived topic
Uploaded Images
39 replies · Started by Janine on December 26, 2017
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.
Hi there,
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 :)
Thanks, Tom.
I don't have a plugin creating any other images.
In media settings, I have set the thumbnails to 150x150 for related posts images.
And I set the large image setting to 650x0, 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.
What format are the images in? JPG? Are they being resized up at all?
Hi, Tom.
Three questions:
1) Below is a link to how I configured my Appearance > Media settings:
https://drive.google.com/open?id=1sb6PCdWzbTlcN0IBz_Bg7IVXQP4fGwjz
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):
https://drive.google.com/open?id=1sSWGpxZfjQ1FEbD8iYNAn-NAs1mMclBN
And here's a list of my installed plugins:
https://drive.google.com/open?id=1DbmW8Sd3Wd3Jfmr4ayOJqHqELrsS-gLS
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!
Is there any specific reason you have them set to 0? Sometimes it's helpful to have the different sizes added (srcset etc..).
Tom,
My site will be image heavy.
I want to make sure that I don't create any unnecessary image sizes. I read these articles:
https://goo.gl/H6FnTj
https://goo.gl/1zXsEk
https://goo.gl/j4c8Go
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.
Tom,
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:
https://drive.google.com/open?id=1OXP7MB6pqNPsXfW_KN2MG9CeQrnQMi0A
To a newbie like me, it still seems to be creating images other than the one I uploaded.
Thank you.
Oh, I forgot to mention that I set the Settings > Media back to the WP defaults, before running this last test.
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.
Thank you, Tom.
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.
That's what I personally do :)
Thanks, Tom.
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?