Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Import from an existing folder - not working?


Reply


10 Posts   1879 Views

Avatar
UncleCheese

4085 Posts

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');

Avatar
klikhier

Community Member, 150 Posts

11 May 2010 at 10:02pm

Thanks once more Uncle Cheese!