Control content-type field image dimension

System Information
  • Strapi Version 5.4.1:
  • Operating System docker:
  • Database postgresql:
  • Node Version 20:
  • NPM Version 10.8.2:
  • Yarn Version:

Its possible create a rule to prevent users to insert images based on image dimensions? (width and height). But, i need to create this rule just to my product content-type, to ensure that the products gonna have a similar image dimensions. im ready tried to use strapi lifecycle inside product content-type. But when i received the parameter event at beforeUpdate(event: any), the images (property) are not populating.

Any one already done something similar before?