Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6052103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:53:29+00:00 2026-05-23T07:53:29+00:00

I have recently developed a website in WordPress, I have a few thumbnail sizes

  • 0

I have recently developed a website in WordPress, I have a few thumbnail sizes defined by add_image_size();

For example if you look here: http://bit.ly/kSTU0Q

Images in the right hand channel at the very bottom under ‘MORE PRODUCT NEWS’ we have this defined for

the_post_thumbnail()

add_image_size( 'side-excerpt', 86, 93);

So would be:

the_post_thumbnail( ‘side-excerpt’,
array(‘class’ => ‘alignleft’) );

If you look WordPress does not seem to adhere to my sizing specifications and I have used the ‘Regenerate Thumbnails‘ plugin and this seems to make near as no difference.

Hopefully you guys can shed some light on the situation.

Thanks in advanced!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T07:53:29+00:00Added an answer on May 23, 2026 at 7:53 am

    Looks to me like your issue is with your crop style.

    add_image_size has a third property that is crop style and defaults to false (soft proportional cropping.

    “Box resizing shrinks an image proportionally (that is, without distorting it), until it fits inside the “box” you’ve specified with your width and height parameters.”

    The reason that your regenerate thumbnails is not working correctly, is because you are using this soft mode, and it seems like the result you are actually looking for is hard crop.

    “in this mode, the image is cropped to match the target aspect ratio, and is then shrunk to fit in the specified dimensions exactly.”

    so you will want to change

    add_image_size( 'side-excerpt', 86, 93);
    

    to

    add_image_size( 'side-excerpt', 86, 93, true);
    

    For more information see:

    http://markjaquith.wordpress.com/2009/12/23/new-in-wordpress-2-9-post-thumbnail-images/

    http://codex.wordpress.org/Function_Reference/add_image_size

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently began using BIRT and have developed a report to use with my
I have heard a few developers recently say that they are simply polling stuff
I have recently developed a habit of running all of my programs through valgrind
I have developed a kind of brochure website template that I base most of
I have recently inherited a website written in Classic ASP, and am currently trying
I am really new to php, I have recently developed a reliability simple web
I have a system that we have recently developed - a web application over
I have recently developed a project which is written using Symfony 1.4 which I
I have developed a news website in a local language(utf-8) which server average 28k
I am good in web development but recently started using PHP and developed few

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.