I am trying to figure out how to increase the image upload size limit above 3MB. Here is my configuration:
Joomla 5.0.1
Phoca Gallery v5.0.0Beta2
Akeeba Backup Pro 9.8.3
(no other components / modules / etc.)
PHP 8.1.24
Upload Max Filesize 40M
Post Max Size 40M
System - Global Configuration - Media
Maximum Size (in MB) 200
Using Joomla Content - Media I am able to upload images that are greater than 3 MB in size.
When I use Components - Phoca Gallery - Images to attempt to upload images I receive the pop-up message: Error: File to large: file.jpg
The Multiple Add displays:
Upload File [ Max Size: 3.00 MB, Max Resolution: 3072 x 2304 px ]
Is this hard coded? Or is there someplace else that it can be changed that I did not find yet?
Thanks in advance for your assistance.
Bob
Increase Gallery image upload greater than 3MB
-
- Phoca Newbie
- Posts: 2
- Joined: 22 Dec 2023, 05:47
-
- Phoca Newbie
- Posts: 2
- Joined: 22 Dec 2023, 05:47
Re: Increase Gallery image upload greater than 3MB
I believe I have found the settings that control this. Based on my settings noted above I will set the upload to 35 MB. I also want to increase the resolution because my mobile device will take images that are a maximum of 4000 pixels on the longest dimension.
Components - Phoca Gallery - Control Panel - Options
Users
Maximal Upload Size: was: 3145728 now: 36700160
Maximal Resolution - Width: was 3072 now: 4000
Maximal Resolution - Height: was 2304 now: 4000
Maximal Size of all User's Images: was 20971520 now: 209715200
I am not sure I understand the last item Maximal Size of all User's Images - does that setting only affect uploads, therefore when using multi file upload the size of all files total must not exceed that value? Or does it affect the total size of all image files stored?
Components - Phoca Gallery - Control Panel - Options
Users
Maximal Upload Size: was: 3145728 now: 36700160
Maximal Resolution - Width: was 3072 now: 4000
Maximal Resolution - Height: was 2304 now: 4000
Maximal Size of all User's Images: was 20971520 now: 209715200
I am not sure I understand the last item Maximal Size of all User's Images - does that setting only affect uploads, therefore when using multi file upload the size of all files total must not exceed that value? Or does it affect the total size of all image files stored?
- Jan
- Phoca Hero
- Posts: 48689
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Increase Gallery image upload greater than 3MB
Hi, the last option is there for frontend upload, to check size of all images uploaded by one user - to have the option to limit it. This has nathing to do with individual upload.
Jan
Jan
If you find Phoca extensions useful, please support the project