4 ms·
What are the register image sizes in WP? Also, have to uploaded any images that might not satisfy the necessary dimensions. If WP was doing it correctly all t
by chiefalchemist 4y ago
What are the register image sizes in WP?
Also, have to uploaded any images that might not satisfy the necessary dimensions.
If WP was doing it correctly all the time there would be a question or two per week about images in the various WP groups I'm in.
At the end of the day, you can have rules for WP cropping / resizing images. But those don't necessary guarantee the dimension of the image output from that. And WP certainly isn't checking each any every image for it's actual dimensions.
And WP aside, it just doesn't make sense any output from a CMS is going to exactly what you expect. object-fit is a fail-safe. Object-fit is also smarter and better than a fixed size background image.
The article has a narrow-ish use case.