Hi,
I looked but there is no option for setting the memory limit to photo uploads in the module?
I'm going to assume you are talking about the size of the file that will be accepted by the uploader, and that the words 'memory limit' that you entered was some weird keyboard malfunction.
There is no file size setting in admin. The settings that you do have, are width and height for client side image resizing. If you set these numbers small enough, such as 800 x 800, file sizes over 1mb are unlikely. If you don't like that method, then you can set those numbers to some high value so no client side image resizing happens, then modify the photo uploader class.
In /modules/boonex/photos/classes/BxPhotosUploader.php something like this might give you what you want:
function BxPhotosUploader()
{
parent::BxDolFilesUploader('Photo');
$this->oModule = BxDolModule::getInstance('BxPhotosModule');
$this->sWorkingFile = BX_DOL_URL_ROOT . $this->oModule->_oConfig->getBaseUri() . 'albums/my/add_objects';
$this->iMaxFilesize = 1200000; //Maximum file size in bytes that will be accepted by the uploader
$this->sAcceptMimeType = 'image/*';
$this->bImageAutoRotate = 1;
}
Add the code in red and adjust the number to whatever you want. Files over this size won't be accepted by the uploader.
My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.