I am using twenty fourteen theme to make another theme most of the files are same including the functions.php file, but the problem I am having is , When I add image size ( with true crop, hard crop mode). The images are not getting cropped on the front-end, only getting resized, but I want them to get cropped also. I will appreciate any help.
wordpress by default do not resize/create/crop image for small images. It will show original image instead.
For eg. required is 335x355. You uploaded image size 25x25 then it will not create image of 335x355 size. It will show full image i.e original image instead when you call 335x355 size image
If your images were uploaded before adding the new image size, you might need to purge the thumbnail cache. I found that Force Regenerate Thumbnails works really well to clear the image cache and regenerate images in the new sizes and crops/