combicart Posted December 19, 2015 Share Posted December 19, 2015 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. 1 Link to comment Share on other sites More sharing options...
LostKobrakai Posted December 19, 2015 Share Posted December 19, 2015 It's actually more wise to have different fields in that instance, as you can apply any changes, which may be needed in future iterations, separately. Grouping them together just for the sake of having them grouped doesn't do you any favor. Link to comment Share on other sites More sharing options...
combicart Posted December 19, 2015 Author Share Posted December 19, 2015 Ok, thanks. I was under the impression to keep the number of fields as low as possible and reuse fields when possible. Will create separate image fields for each use case. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now