Presently I am doing a project in WordPress. It's a daily news update site. My layout goes like this:
In the above Layout I set the images of posts by Featured Post Images and displayed by using the get_the_post_thumbnail(postid). While using this function my image getting stretched and distorted.
And I tried another way by passing size attribute to above function like medium and large, but no luck.
My question can we get two predefined like (830px/542px and 800px/330px) sizes of images at a time while uploading any size of image to a WordPress.
I tried some plugins that are available in WordPress, but there is no luck in that either.