Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
Default Image Resize Max Dimensions

 

 


InHouse
User

Feb 21, 2008, 12:15 PM

Post #1 of 3 (341 views)
Shortcut
Default Image Resize Max Dimensions Can't Post

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


Dave
Staff / Moderator


Feb 21, 2008, 2:06 PM

Post #2 of 3 (337 views)
Shortcut
Re: [InHouse] Default Image Resize Max Dimensions [In reply to] Can't Post

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


InHouse
User

Feb 22, 2008, 8:55 AM

Post #3 of 3 (332 views)
Shortcut
Re: [Dave] Default Image Resize Max Dimensions [In reply to] Can't Post

Perfect! Many thanks Dave!

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4