1. A method implemented in a computing device, the method comprising: identifying an all-subjects portion of an image that includes subjects identified in the image; identifying an attention portion of the image that includes an area identified as an intended focus of the image; determining a first dimension of the image and a second dimension of the image, the determining comprising: dividing a width of the image by a height of the image to determine an image aspect ratio; dividing a width of a frame by a height of the frame to determine a frame aspect ratio; comparing the image aspect ratio to the frame aspect ratio; determining the width of the image to be the second dimension and the height of the image to be the first dimension if the image aspect ratio is larger than the frame aspect ratio; and determining the height of the image to be the second dimension and the width of the image to be the first dimension if the image aspect ratio is smaller than the frame aspect ratio; scaling the image to fit the first dimension of the image within the frame; determining whether the scaled image can be cropped along the second dimension to fit in a corresponding frame dimension of the frame while including both the all-subjects portion and the attention portion; and cropping the scaled image along the second dimension to include both the all-subjects portion and the attention portion if it is determined that the scaled image can be cropped along the second dimension to fit in the corresponding frame dimension of the frame while including both the all-subjects portion and the attention portion, otherwise cropping the scaled image along the second dimension to include one or more of the subjects in the all-subjects portion by: identifying an initial includable-subjects region that includes one or more of the subjects identified in the image; locating an additional one of the subjects identified in the image that is not included in the initial includable-subjects region; checking whether the initial includable-subjects region can be repositioned to include the additional one subject; and if the initial includable-subjects region can be repositioned to include the additional one subject, then repositioning the initial includable-subjects region to include the additional one subject and cropping the image to include the repositioned initial includable-subjects region.