Jump to content

Create a different image type size constraint


lulucious

Recommended Posts

Hi everyone,

 

I am looking to adapt the image types offered by prestashop.

 

Now, prestashop requires both the MAX WIDTH field and the MAX HEIGHT field.

 

I would like to simply put a constraint on the width or the height and to set it to a given value in px. Afterwards, i want the other side to be be resized accordingly.

 

Any advice on the PHP changes I should consider doing?

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
×
×
  • Create New...