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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Import from an existing folder - not working?

Go to End

10 Posts   2566 Views


Forum Moderator, 4102 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:



Community Member, 150 Posts

11 May 2010 at 10:02pm

Thanks once more Uncle Cheese!

Go to Top