Added validation for the prefix input field on the create image page