Apologies for my delayed response.
So ideally I’d like the comp to be completely filled out with the image. Now if the image were a square then it would fill out the comp entirely while still maintaining it’s aspect ration, which would lead to it having some of it’s height spilling over the top and bottom.
I will try to keep on experimenting with the expression that you sent me as well as making sure the image is centrally aligned and take it for there.
Thanks for the input 🙂