how wordpress themes use featured images on posts

Hello

I am using a custom theme and I am confused by how it is using the featured image on a post.

When you add a post there is an option to add a single featured image. However this image is displayed in various different layouts and hence at various different sizes throughout the theme.

Do i upload a single image which is big enough for the maximum size the image is displayed at and then the theme will display it accordingly? I am guessing the theme will shrink the image somehow. But the problem with this is that the image sizes arent always in the same aspect ratio so you get some distortion of the images.

Is there anyway to upload different versions of the image at the different sizes? I cant see anyway to do this

thanks a lot
andiejeAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jason C. LevineDon't talk to me.Commented:
Do i upload a single image which is big enough for the maximum size the image is displayed at and then the theme will display it accordingly?

Yes.  If you look in the theme's functions.php file you should see calls to the function add_image_size() which takes the images you upload and resizes them according to the definitions in the function.  So each image you upload ends up creating three or four files.  

If you browse your uploads folder, you should see them.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WordPress

From novice to tech pro — start learning today.