Jump to content

How to get image dimensions (min width, min height) set in backend on frontend


Juergen
 Share

Recommended Posts

Hello @ all,

it is possible to get the parameters of min and max dimensions of an image upload field set in backend via API on the frontend.

I use an image upload field on the frontend and I want to show a hint for users that the uploaded image should be at a certain size. For this purpose I want to output the min and max sizes that I have set in the backend.

Does anyone know how to get this values via API calls on the frontend?

Best regards

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...