Announcement

#61 2012-07-12 12:53:38

pewe
Member
2012-03-16
439

Re: Since 2.4 update I cant upload all images

•2832×4250 pixels, 1.77MB

That was the size of the file which WORKED.

I think what Flop is asking is - what was the file size of the files that did not upload.

But as I said in previous post, I doubt that the file size is the problem as files larger than the problem files were able to upload successfully.

Offline

 

#62 2012-07-12 17:05:06

skpManiac
Member
England
2012-02-15
140

Re: Since 2.4 update I cant upload all images

Hi Pewe, yeah the actual file size seems to be irrelavent, I have uploaded a few that re larger than 5mb, the guy at Fasthosts says I should be able to upload upto 20mb with no issues

One of the tech guys has just signed up and I've made them admin, so hopefully they can resolve it for me :)


Share & Enjoy

Offline

 

#63 2012-07-12 17:56:11

skpManiac
Member
England
2012-02-15
140

Re: Since 2.4 update I cant upload all images

Just got this from Fasthosts

Dear Stephen

I have escalated this issue to our engineers as I was able to replicate the same issue when uploading a file. The max upload on the server you are hosting on is 20mb and the file I tried to upload is 12.8mb.
                                                                               
Thanks again for contacting us.   
                                                                           
Best Regards,

FINGERS CROSSED!!


Share & Enjoy

Offline

 

#64 2012-07-18 09:42:21

skpManiac
Member
England
2012-02-15
140

Re: Since 2.4 update I cant upload all images

ok guys, the PHP upload size is sorted, Fasthosts reckon this should have resolved the issue, but it has not :(

I am really stuck now and I am asking if any of the coders here could check my site to see whats wrong - I really want to get things up and running

Thanks in advance
Steve


Share & Enjoy

Offline

 

#65 2012-07-18 09:46:12

flop25
Piwigo Team
2006-07-06
6965

Re: Since 2.4 update I cant upload all images

Hi
you can try to use the html web form, or use a third party plugin on lightroom for example


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#66 2012-07-18 16:06:59

skpManiac
Member
England
2012-02-15
140

Re: Since 2.4 update I cant upload all images

Hi Flop

the HTML uploader does not work on my site, I have ti use FLASH which produces the same error - I have only tried that and the pLoader app for Windows


Share & Enjoy

Offline

 

#67 2012-07-18 16:09:22

skpManiac
Member
England
2012-02-15
140

Re: Since 2.4 update I cant upload all images

OK, this looks like the answer - does this make sense??

Dear Stephen

I have located the problem.  It seems that you are exceeding the PHP memory limit, which is 64MB, which can be seen from the error_log file in your web space (in the logfiles folder - parallel with htdocs).  This is the amount of memory any one invocation of a PHP script can consume, and is actually a fairly large amount, considering that you are sharing a web server with other customers.  I'm afraid that it is absolutely out of the question to modify this limit at this time.  It may seem like a lot of memory to consume, but when dealing with uncompressed images which is necessary when doing resize operations and the like, it is easy to hit the limit.  Taking one of the images you mentioned in an earlier mail which was 5184x3456, you can calculate the memory usage (assumption is that it's 32bit colour depth)

((xrex * yres * bpp) / sizeofbyte) / sizeofkbit / sizeofkbit
((5184 * 3456 * 32) / 8) / 1024 / 1024 = 68MB

That image, when completely uncompressed actually consumes 68MB on its own.  Scripts which operate on images will usually have the uncompressed version as well as a working copy and the original copy too, so you will be using a lot more than the 64MB allowed.

If you want people to download the images with full fidelity, then you can upload them and allow direct downloads of the images, it is only the manipulation of the images within PHP itself which is causing the problems.  The other thing I can suggest is that you resize these images down before uploading them, as I'm sure they are not being displayed in a web browser using such a huge resolution anyway.

Is there a way to make pLoader resize the imges BEFORE it uploads them?


Share & Enjoy

Offline

 

#68 2012-07-18 16:12:51

skpManiac
Member
England
2012-02-15
140

Re: Since 2.4 update I cant upload all images

Can I turn off the MULTIPLE SIZES 2.4 ? Could this be the cause?

Does the Lightroom addin resize the images BEFORE uploading them?

Last edited by skpManiac (2012-07-18 16:36:36)


Share & Enjoy

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact