Check image sizes