Hi Uncle Cheese,
I am having some difficulty getting the 'sizeLimit' variable to work. This is a newbie question so some pointers would be helpful please.
I would like to set this globally across the cms and really only want this to apply an upload limit to image file uploads. However looking at other posts I am not sure it is that easy. The reason for this approach is due to limitations on the shared hosting that the site is on and the site that I manage is being used by people that are not that web savvy so I would like to prevent them from uploading huge images that would cause problems.
Reading the documentation on uploadify module I see this but adding it to my code had no effect:
UploadifyField::set_var('buttonText', 'Click me!');
What I was hoping was that I would be able to add this:
Below is one example of the code that I am trying to get this to work on:
$sponsorreport = new DataObjectManager(
'BusinessName' => 'Business Name',
'Website' => 'Website',
'Thumbnail' => 'Logo'
I am sure that I am missing something really obvious!