Announcement

#1 2012-07-15 02:23:13

sleze
Member
2012-04-20
5

Problems uploading photos

I am still having difficulties uploading (abandoned ploader as alluva sudden it just started crashing).  Trying to upload photos via the web page we are still finding that SOME photos will upload and some won't.  There doesn't seem to be any rhyme or reason as to which ones will or won't as sometimes larger photos (7 MB) will upload and smaller ones (5MB) won't.  Dimensions don't really seem to make a difference either.  Here are some of our PHP settings:

upload_max_filesize    64M    64M
post_max_size             64M    64M
memory_limit                128M    128M
max_input_time            60    60

Also, I have noticed that we get the following error when we upload (successfully):

Warning: convert: invalid argument for option `-rotate': -orient @ error/convert.c/ConvertImageCommand/2381. in /home/clarke/public_html/belclarkphoto.com/piwigo/admin/include/image.class.php on line 647

Warning: Cannot modify header information - headers already sent by (output started at /home/clarke/public_html/belclarkphoto.com/piwigo/admin/include/image.class.php:647) in /home/clarke/public_html/belclarkphoto.com/piwigo/include/page_header.php on line 105

Any ideas?

Offline

 

#2 2012-07-15 13:29:47

geoffschultz
Member
Marlborough, MA, USA
2012-07-01
148

Re: Problems uploading photos

This doesn't answer your question, but the size of the image on disk has nothing to do with its size in memory.  It's just a measure as to how well it compressed.  If you look at the dimensions of the photos, do you see a pattern?  You can calculate the physical memory size by width * height * 3 / 1048576.

-- Geoff

Last edited by geoffschultz (2012-07-15 13:30:08)

Offline

 

#3 2012-07-15 19:11:18

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13140

Re: Problems uploading photos

sleze wrote:

Trying to upload photos via the web page we are still finding that SOME photos will upload and some won't.

What makes you say that the upload failed?

sleze wrote:

Also, I have noticed that we get the following error when we upload (successfully):

Warning: convert: invalid argument for option `-rotate': -orient @ error/convert.c/ConvertImageCommand/2381. in /home/clarke/public_html/belclarkphoto.com/piwigo/admin/include/image.class.php on line 647

On the administration home page of Piwigo, what is written about the graphics library?


Latest blog post (May 3rd 2018) New subscription form

Offline

 

#4 2012-07-23 15:32:04

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13140

Re: Problems uploading photos

Now I also encounter this problem. This is related to the "resize after upload" feature on the original size + External ImageMagick + no rotation needed.

[Bugtracker, ticket 2705, fixed] invalid argument for option -rotate


Latest blog post (May 3rd 2018) New subscription form

Offline

 

Board footer

Powered by FluxBB

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