7921 Posts in 1359 Topics by 933 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Import from an existing folder - not working?
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
| Go to End | ||
| Author | Topic: | 1544 Views |
-
Re: Import from an existing folder - not working?

11 May 2010 at 8:02am
You can't interrogate the file dimensions, but you can interrogate the file size, which is really all that matters with regard to your GD issues. By default, the max upload size is whatever the upload_max_filesize setting is in your PHP.ini. But you can override that in the getCMSFields() function:
SWFUploadConfig::set_var('file_size_limit','1MB');
-
Re: Import from an existing folder - not working?

11 May 2010 at 10:02pm
Thanks once more Uncle Cheese!
| 1544 Views | ||
| Go to Top |

