Page 1 of 1

Upload Images Setting

Posted: 11 Mar 2009, 08:02
by vb11
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

Re: Upload Images Setting

Posted: 11 Mar 2009, 19:15
by caro84g
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

Re: Upload Images Setting

Posted: 12 Mar 2009, 07:31
by vb11
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

Re: Upload Images Setting

Posted: 12 Mar 2009, 10:00
by caro84g
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

Re: Upload Images Setting

Posted: 16 Mar 2009, 06:46
by vb11
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

Re: Upload Images Setting

Posted: 16 Mar 2009, 10:23
by caro84g
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

Re: Upload Images Setting

Posted: 25 Mar 2009, 06:45
by vb11
Yes. The parameter "Enable Thumnail Creation" is still set to "Yes".

Re: Upload Images Setting

Posted: 26 Mar 2009, 01:51
by vb11
Is it a problem if this "Enable Thumnail Creation" is still set to "Yes" ?

Please be advise.

Thanks

Re: Upload Images Setting

Posted: 04 Apr 2009, 21:48
by vb11
Caro,

Would you please let me know if setting the "Enable Thumbnail Creation" to Yes would cause a problem
with large image files?

Thanks

Re: Upload Images Setting

Posted: 05 Apr 2009, 18:52
by caro84g
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