web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Validation of image size ratio

(0) ShareShare
ReportReport
Posted on by 560

Hi Experts,

I have to do image validation in AX 2012.  When user upload image for product, I need to ensure the image size is in 1:1 ratio if not I have to throw error.

Also, I am uploading the image by Document handling functionality.

Any suggestion on how to achieve this?

Regards,

Ganesh

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    236,182 Most Valuable Professional on at
    RE: Validation of image size ration

    The native AX solution is using the Image class and its methods height() and width().

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#1
Guy Terry Profile Picture

Guy Terry 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans