The logic was incorrect here, which caused some images to be missed because some images have EXIF data but do not have orientation 8.
This gets three random posts and uses the first for the top feature and the second and third for the two smaller features.