Hi,
Would you please list (step by step) the right setting in PhocaGallery to allow uploading of images with different sizes, greater than 640x480, for example 2816x1872 (1.94MB)? What do I need to do to allow my front end users to upload such a large images?
I have never been able to upload any images that is bigger than 640x480. I have tried to change a few parameters in the global "Parameters" with no success. Parameters such as "Large Image Width" or "Large Image Height" allows me to upload a bigger size images without crashing my php SQL, but still, I can't see anything.
I think a few general setting example or steps listed here would eliminate all future questions about sizes, setting, config.xml etc...
Thanks for a great component.
vb11
Upload Images Setting
- caro84g
- Phoca Hero

- Posts: 1369
- Joined: 11 Feb 2008, 17:52
- Location: Holland
- Contact:
Re: Upload Images Setting
Hi vb11,
the size parameters are for the sizes of the thumbnails. From each uploaded image Phoca creates a thumbnail.
If your server crashes while uploading large images, Then it's more a server problem then a Phoca Gallery problem. You might solve it by changing the settings in your php.ini - on a localhost I can manage this, on a shared host I don't know how to do it.
You'll see resource settings in the php.ini like memory_limit and max_execution_time. Increasing those maybe solves your problem.
For documentation about Phoca Gallery see: https://www.phoca.cz/documentation/categ ... -component
Regards, Carolien
the size parameters are for the sizes of the thumbnails. From each uploaded image Phoca creates a thumbnail.
If your server crashes while uploading large images, Then it's more a server problem then a Phoca Gallery problem. You might solve it by changing the settings in your php.ini - on a localhost I can manage this, on a shared host I don't know how to do it.
You'll see resource settings in the php.ini like memory_limit and max_execution_time. Increasing those maybe solves your problem.
For documentation about Phoca Gallery see: https://www.phoca.cz/documentation/categ ... -component
Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Backup before you do any major change to your website (and test first)
-
vb11
- Phoca Member

- Posts: 13
- Joined: 29 Jul 2008, 07:37
Re: Upload Images Setting
Let me ask a simpler question:
If I want to upload an image, size 2816x1872, from the front end, what do I have to change in phocagallery to allow this?
Thanks
If I want to upload an image, size 2816x1872, from the front end, what do I have to change in phocagallery to allow this?
Thanks
- caro84g
- Phoca Hero

- Posts: 1369
- Joined: 11 Feb 2008, 17:52
- Location: Holland
- Contact:
Re: Upload Images Setting
Hi,
if you have the setting: "Maximum Upload Size (in bytes - front,admin upload)" large enough (default it is 3MB) it should be no problem.
Regards, Carolien
if you have the setting: "Maximum Upload Size (in bytes - front,admin upload)" large enough (default it is 3MB) it should be no problem.
Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Backup before you do any major change to your website (and test first)
-
vb11
- Phoca Member

- Posts: 13
- Joined: 29 Jul 2008, 07:37
Re: Upload Images Setting
I think my real problem is with the thumbnail. All my previous images were created using all PhocaGallery default setting, i.e. 640x480. Now I wanted to upload a much larger image, 2816x1872, I believe the image successfully uploaded into the folder, but there is no thumbnail created.
Can you tell me how to fix this problem?
Thanks
Can you tell me how to fix this problem?
Thanks
- caro84g
- Phoca Hero

- Posts: 1369
- Joined: 11 Feb 2008, 17:52
- Location: Holland
- Contact:
Re: Upload Images Setting
Hi,
is the parameter 'enable thumbnails creation' still set to 'yes' in the Phoca Gallery Parameters (components > phoca gallery > control panel > [parameters] button)?
Regards, Carolien
is the parameter 'enable thumbnails creation' still set to 'yes' in the Phoca Gallery Parameters (components > phoca gallery > control panel > [parameters] button)?
Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Backup before you do any major change to your website (and test first)
-
vb11
- Phoca Member

- Posts: 13
- Joined: 29 Jul 2008, 07:37
Re: Upload Images Setting
Yes. The parameter "Enable Thumnail Creation" is still set to "Yes".
-
vb11
- Phoca Member

- Posts: 13
- Joined: 29 Jul 2008, 07:37
Re: Upload Images Setting
Is it a problem if this "Enable Thumnail Creation" is still set to "Yes" ?
Please be advise.
Thanks
Please be advise.
Thanks
-
vb11
- Phoca Member

- Posts: 13
- Joined: 29 Jul 2008, 07:37
Re: Upload Images Setting
Caro,
Would you please let me know if setting the "Enable Thumbnail Creation" to Yes would cause a problem
with large image files?
Thanks
Would you please let me know if setting the "Enable Thumbnail Creation" to Yes would cause a problem
with large image files?
Thanks
- caro84g
- Phoca Hero

- Posts: 1369
- Joined: 11 Feb 2008, 17:52
- Location: Holland
- Contact:
Re: Upload Images Setting
Hi,
if you enable this setting, then Phoca checks if the thumbnails exist and if they don't exist it'll create thumbnails.
If it crashes because of such a big image, then it's probably due to too little memory or too little execution time on your server. And then we're back at my first post. On a localhost I know how to set those things, on a shared server I don't know.
Regards, Carolien
if you enable this setting, then Phoca checks if the thumbnails exist and if they don't exist it'll create thumbnails.
If it crashes because of such a big image, then it's probably due to too little memory or too little execution time on your server. And then we're back at my first post. On a localhost I know how to set those things, on a shared server I don't know.
Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Backup before you do any major change to your website (and test first)