I don’t want set this
the_post_thumbnail( array(100,100) );
because it output me a fixed size image, but I want obtain max image size, obviously with correct aspect ratio.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I believe you want this:
In addition to specifying a size, there are also multiple keywords such as “thumbnail”, “medium”, “large” and “full” which get you different premade sizes. You can also register your own image size using
Then every time you upload an image it will crop to that size as well