Docs -> FrequentlyAskedQuestions
Let me first start by saying that Family Connections does not put any limit on how large of a file you can upload. In theory, Family Connections can handle uploading photos of any file size or resolution. If you are experiencing an error like the one below, it is because of a memory limit on your web host and not because of a bug in FCMS.
When uploading photos using FCMS, the size of the photo isn't important, it's the resolution or number of pixels of that photo. For example: a 7-megapixel camera typically creates photos with a dimension of 3000 x 2400 pixels. That same photo will take around 34MB of memory to resize.
1. Advanced Uploader
As of Family Connections 2.2, a new feature was added to fix this problem called the "Advanced Uploader".
The Advanced Uploader is a Java program that will allow you to both upload multiple photos at once and also upload very large photos without running out of memory.
The Advanced Uploader option can be turned on in the 'My Settings' page. For more info, check out the tutorial∞.
2. Increase the php memory limit through the php.ini file
If you host your own website or have a host that allows you to edit the php.ini file.
Open up the php.ini file in a text editor and locate the following line:
Simply increase that limit to something like 24M (or higher if needed). Restart Apache after you edit php.ini.
3. Increase the php memory limit through the .htaccess file
Create a new file named .htaccess in the Family Connections main directory and add the following line
You may need to increase the memory limit above 24M, usually somewhere between 24M and 40M should work.
1. Lower the settings on your digital camera.
2. Download a program that will resize your photos for you, and then upload them to the site.
Why can't I upload large photos?
Let me first start by saying that Family Connections does not put any limit on how large of a file you can upload. In theory, Family Connections can handle uploading photos of any file size or resolution. If you are experiencing an error like the one below, it is because of a memory limit on your web host and not because of a bug in FCMS.
Fatal error: Allowed memory size of XXXXXXX bytes exhausted (tried to allocate XXXXX bytes) in /home/public_html/inc/gallery_class.php on line XXX
When uploading photos using FCMS, the size of the photo isn't important, it's the resolution or number of pixels of that photo. For example: a 7-megapixel camera typically creates photos with a dimension of 3000 x 2400 pixels. That same photo will take around 34MB of memory to resize.
To fix this problem, try on of the solutions below.
1. Advanced Uploader
As of Family Connections 2.2, a new feature was added to fix this problem called the "Advanced Uploader".
The Advanced Uploader is a Java program that will allow you to both upload multiple photos at once and also upload very large photos without running out of memory.
The Advanced Uploader option can be turned on in the 'My Settings' page. For more info, check out the tutorial∞.
2. Increase the php memory limit through the php.ini file
If you host your own website or have a host that allows you to edit the php.ini file.
Open up the php.ini file in a text editor and locate the following line:
memory_limit: 8M
Simply increase that limit to something like 24M (or higher if needed). Restart Apache after you edit php.ini.
3. Increase the php memory limit through the .htaccess file
Create a new file named .htaccess in the Family Connections main directory and add the following line
php_value memory_limit 24M
You may need to increase the memory limit above 24M, usually somewhere between 24M and 40M should work.
To work around this problem, try one of the following options.
1. Lower the settings on your digital camera.
2. Download a program that will resize your photos for you, and then upload them to the site.
