 |

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!
|
|
|  |
|