Jump to content

Add template overwrite for min and max image dimensions


combicart
 Share

Recommended Posts

Hello,

Currently when adding an image field, we can add a min. and max. image dimension for them. We also can overwrite some fields based on the template in which this field is used.

Would it be possible to add the min. and max. image dimensions to those template overwrites?

Currently when building a website I quite often use the image field to hold different 'types' of images. On e.g. the home page template this could be a hero image, and on the blog template this is a highlight image.

In both templates, the images have different image dimensions. To make sure the image always looks crisp and to help the website editor, I always add a min. image width and hight for the image.

Currently we need to add different image fields for those use cases, while they basically do the same thing. When we could set a template overwrite for these values, we can simply create 1 'image' field type and use it in multiple templates, with their own min. / max. image dimensions.

  • 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...