Default Image Resize Max Dimensions

3 posts by 2 authors in: Forums > CMS Builder
Last Post: February 22, 2008   (RSS)

Hi again,

Is there an ini or config file where I can set the default values which show up in the 'resize images larger than:' section of the WYSIWYG validation section?

Many thanks,
Jayme

Re: [InHouse] Default Image Resize Max Dimensions

By Dave - February 21, 2008

There's not. You can change the values once you've created a field or section, but you can't change the default through the program.

To change the default for presets (used when adding a section) you'd have to edit the files in /data/presets/. Search for: resizeOversizedImages, maxImageHeight, maxImageWidth

Setting resizeOversizedImages to 0 disables that feature.

To change the defaults used when adding new fields you'd have to edit /lib/menus/database/editField_functions.php. Just search for those same field names (they're at the top around line 53).

Hope that helps! Let me know if you have any other questions about that.
Dave Edis - Senior Developer
interactivetools.com