Hi @rayeason
The resizing is going to preserve aspect ratio. Is it possible that in scaling the image down to meet the height requirement of 630, it lowered that particular image down to 1100 width? If it had scaled it down to 1200 width, the height would have been over the 630 threshold.
That is what I thought afterwards.
is there anyway to maintain the aspect ratio?
The recommended size for a WordPress blog post image is 1200 x 630 pixels.
You generally don’t want to change the aspect ration on an image as it can stretch it out. You could crop it down but that is also going to change the image (cutting edges off) and is usually better done manually because of that.
WordPress recommends 1200×630 for post images.
Do you recommended that I allow your plugin to resize keeping aspect ratio despite the recommended dimensions?
That recommendation is a general guideline but not a requirement. Different sizes are used for different things and making everything the same wouldn’t necessarily be best for your site. For example, if you have a square image, say 600x600px, you wouldn’t want that to be stretched to 1200 pixels wide as it would look terrible. And if you have a small thumbnail icon, you wouldn’t want that to be that large when it is displayed in a space that is only 100×100 pixels. So, yes, I would say let the system keep the aspect ratio in place. add your images to your posts and then check your site and see how things look.
I understand that, I am not wanting every image to be 1200×630.
Only Large images (per media settings) which would be for Post Images.
I just want all Post Images to be 1200×630.
If you want all Post images to be that specific size then you will want to make sure to upload images that are in that same aspect ratio (1.91:1). If you upload a square image (a 1:1 aspect ratio) or a 3:2 aspect ratio image, you will get different dimensions (300×300 or 800×600 for example).
I can do it manually, I have a software tool.
Was just looking for an automated way.
Thanks.
I’m going to resolve this thread but please feel free to open a new one if you have further questions.