Piwigo.org

You are not logged in. (Register / Login)

Announcement

Post a reply

Write your message and submit

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

skpManiac
2012-07-18 16:12:51

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

Does the Lightroom addin resize the images BEFORE uploading them?

skpManiac
2012-07-18 16:09:22

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?

skpManiac
2012-07-18 16:06:59

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

flop25
2012-07-18 09:46:12

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

skpManiac
2012-07-18 09:42:21

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

skpManiac
2012-07-12 17:56:11

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!!

skpManiac
2012-07-12 17:05:06

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 :)

pewe
2012-07-12 12:53:38

•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.

skpManiac
2012-07-12 12:42:59

This is the one I uploaded last night, hope this helps

•Original file : Myf in Studio June 2012 0062small.jpg
•Posted 11 hours ago on Thursday 12 July 2012
•Added by admin
•2832×4250 pixels, 1.77MB
•Visited 2 times
•Numeric identifier : 321

pewe
2012-07-12 12:29:47

The file which you sent me which would not upload was 1.95mb, compared to the one which did upload which was 9.91mb.

So the file size was not the problem - the smallest was the problem file.

skpManiac
2012-07-12 11:48:38

They have just asked mje the same question :p

I will have to recreate the files - OOPS!!

flop25
2012-07-12 11:24:18

and what about filesize ?

skpManiac
2012-07-12 00:48:25

I am doing that now :)  I know it worked perfect before the upgrade, thats the really annoying part of all this :/

I am also looking at the sizes that Piwigo ihas in the defaults and the scale factor is wrong to my images - maybe that doesn't matter, but I am desperate and will try anything lol


EDIT:
Just resized image to 3000x2000 and that uploaded fine

as did 4000x2666


5000x3333 FAILED
4750x3166 FAILED
4500X2999 FAILED


4250X2832 WORKED

So that seems to be my limit :/ 
I will message them tomorrow and see what they say

Cheers Pewe, think you're the only one on here trying to help, think the others got fed up with my questions lol

pewe
2012-07-12 00:40:16

Maybe you could try a couple of different sizes to get down to the largest that WILL upload, then bring it to the attention of your host and see if they can explain it.

After all we know Piwigo can handle that specific image  - I've got it on my test site full size after successful upload.

skpManiac
2012-07-12 00:39:27

I have turned OFF resize after upload and that fails too - just thought I'd try it and see  what happened

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013