Refactor image set largest property

I can't believe I did not see that...