Announcement

#1 2011-01-30 16:15:45

pics
Member
2011-01-30
1

Large image upload

I cannot upload large images (bigger than 3mb). Smaller images (resized) is no problem. I have changes the settings in the config file already to allow larger files but with nu result.

Offline

 

#2 2011-01-30 16:20:51

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Large image upload

Did you look at the limitations of the host?

What is your host ?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2011-01-30 16:42:43

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

Re: Large image upload

pics wrote:

I have changes the settings in the config file already to allow larger files

which settings? which config files?

Offline

 

#4 2011-02-09 15:43:17

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

Re: Large image upload

I have been able to upload a 4.72MB file on your gallery.

The limit on your server is 10MB (not 3MB). When I try to upload a 12.16MB photo, I get the immediate error : File too big ***.jpg: 12.16MB Limit: 10.24MB (without even starting the upload).

Offline

 

#5 2011-05-10 19:05:44

norbarb
Member
2011-05-10
11

Re: Large image upload

You can change tis in php.ini if you have this file in your gallery root. If not you can create using notepad and upload to gallery root.
To create one open Notepad and copy and paste  text below, witch you can change upload limit in upload_max_filesize = "number you want here with out quotes". Save file as php.ini and upload to root of gallery. Next time you should be ok.


; Set some reasonable defaults for PHP.  Most of these cannot be set
; inside the script itself.  These settings are mirrored in the
; .htaccess file for hosts that support .htaccess but not per-dir
; php.ini files.
;
[PHP]
short_open_tag = On
magic_quotes_gpc = Off
magic_quotes_sybase = Off
magic_quotes_runtime = Off
register_globals = Off
upload_max_filesize = 200M
post_max_size = 100M

[Session]
session.auto_start = Off

[suhosin]
suhosin.session.encrypt = Off

Offline

 

#6 2011-05-11 00:50:57

NWS
Member
Seattle, WA
2011-04-02
175

Re: Large image upload

I tried this and it didn't work. My host is 1and1. I tried uploading a 6meg file and when it finished I got an error: Error on file "snoqualmie_2_0013.jpg" : The uploaded file exceeds the upload_max_filesize directive in php.ini: 2MB

Should I change the .htaccess file instead? If so what do I put in there?

Thanks,
Tom

Offline

 

#7 2011-05-11 04:21:35

norbarb
Member
2011-05-10
11

Re: Large image upload

Yes you are correct if you using multiple form upload but if you change to old style upload form you should bo ok. Also is working good if you using Piwigo Uploader

You may try to edit .htaccess file but it never worked for me.

Last edited by norbarb (2011-05-11 04:23:40)

Offline

 

#8 2011-05-11 04:41:58

NWS
Member
Seattle, WA
2011-04-02
175

Re: Large image upload

Thanks. Yes I was using multiple file upload. I'll try single file. I have been using ploader and is has worked fine.

Offline

 

#9 2011-05-11 15:08:19

kiddy-admin
Translation Team
Moscow
2009-05-16
116

Re: Large image upload

I have a similar problem.

but:

large images are uploaded on the server
(http://kiddyzoom.com/gallery/upload/201 … 768310.jpg)
but preview is not created and number of photos other than there are in the gallery

small images are uploaded and previews - OK

Last edited by kiddy-admin (2011-05-11 15:32:15)

Offline

 

#10 2011-05-16 14:51:00

kiddy-admin
Translation Team
Moscow
2009-05-16
116

Re: Large image upload

from my site error log:

[Wed May 11 16:19:30 2011] [error] PHP Fatal error:  Allowed memory size of
33554432 bytes exhausted (tried to allocate 16000 bytes) in
/home/u260515/kiddyzoom.com/www/gallery/admin/include/functions_upload.inc.php
on line 549
[Wed May 11 16:28:01 2011] [error] [client 95.108.158.235] File does not
exist: /home/u260515/kiddyzoom.com/www/galleries/new-photos/thumbnail/TN-
193.jpg

Offline

 

#11 2011-05-16 14:56:09

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

Re: Large image upload

If you have a probleme with memory, maybe you have a problem with the dimensions (width * height in pixels), see [Forum, post 122009 by plg in topic 17154] Community plugin, new generation for Piwigo 2.2+

Offline

 

#12 2011-05-16 15:23:56

kiddy-admin
Translation Team
Moscow
2009-05-16
116

Re: Large image upload

ok, file size was 4000 on 3000 - too much

how can i add message for users:


the photo is uploaded,  on moderation

Last edited by kiddy-admin (2011-05-16 15:24:25)

Offline

 

#13 2011-05-16 15:29:01

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

Re: Large image upload

kiddy-admin wrote:

the photo is uploaded,  on moderation

This message is already displayed

Offline

 

#14 2011-05-17 10:05:14

kiddy-admin
Translation Team
Moscow
2009-05-16
116

Re: Large image upload

I would like that
it should`t disappear and  be similar to other messages to user - with green border)

Offline

 

#15 2011-05-17 10:42:00

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

Re: Large image upload

kiddy-admin wrote:

I would like that
it should`t disappear and  be similar to other messages to user - with green border)

This is what should already happen. Don't you have this message?

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact