Only resize images if they are larger
This may be better as a flag or option in the Meta