I have this setting in function.php
add_image_size( 'thumbnail-gallery', 185, 185, true );
It will display a square picture.
Everything is fine before I regenerate new size using "Regenerate Thumbnails" plugin.
After the process finished, the <?php the_post_thumbnail( 'thumbnail-gallery' ); ?>
will return the original "big" url instead the regenerate url.
it does not crop. original file url. not square.