Check image requirements before set