On the front page of my website I am displaying all of the artist pages (this is an art gallery website) on the front page in a grid with the page name and thumbnail. It’s working fine, but the sizes are a little different for each. How to I crop the images so they are all a perfect square? I am doing this in wordpress.
I followed your blog post and it did work in resizing my thumbnails, but it did not crop it to the exact specifications.
add_image_size( 'custom-1', 125, 125, true );
to my functions.php file and it made the images only 125px wide, but kept the height proportional. This seems like that should have happened if I had the crop set to false, but I do have it set to true!
I figured it out. I had to regenerate my thumbnails using a plugin called AJAX Thumbnail Rebuild because when you add a new image size, it only applies to new uploads. Regenerate Thumbnails is also a well know plugin to do this.