Increase Image Size

Author Message

Cristian Pacheco

Saturday 09 February 2008 7:26:31 pm

Hello,

Can help to shape because when I want to upload a picture more than 2 MB see this message.
Any tell me what is the configuration file that should edit.

Thank you in advance, Cristian.

The Message is this:
----------------------------------------------
The draft could not be stored.
Required data is either missing or is invalid:
* Image: The size of the uploaded file exceeds the limit set for this site: 2097152 bytes.
----------------------------------------------

UTN Facultad Regional Delta
Campana, Bs.As.-Argentina
http://www.frd.utn.edu.ar

Mark Marsiglio

Saturday 09 February 2008 7:50:19 pm

There are two settings to check, but I suspect that in your case the Image Class has this size limit set in it.

Go to Setup > Classes > Media > Image and edit that class. You will see the size limit set to 2MB by default. Setting it to 0MB makes it unlimited.

If that is not, it check your php.ini. You can verify the maximum post size allowed by the ini by looking at Setup > System Information.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Cristian Pacheco

Sunday 10 February 2008 4:48:50 pm

Hi Mark, Thank you so much, the option to edit the Image class works ok.

The parameter in php.ini already had changed why was half lost by which may be the option to change.

Sincerely, Cristian.

UTN Facultad Regional Delta
Campana, Bs.As.-Argentina
http://www.frd.utn.edu.ar

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 18:17:00
Script start
Timing: Jan 18 2025 18:17:00
Module start 'layout'
Timing: Jan 18 2025 18:17:00
Module start 'content'
Timing: Jan 18 2025 18:17:02
Module end 'content'
Timing: Jan 18 2025 18:17:02
Script end

Main resources:

Total runtime2.1131 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0112 587.9063152.6250
Module start 'layout' 0.01120.0050 740.531339.4297
Module start 'content' 0.01612.0955 779.9609532.8594
Module end 'content' 2.11160.0015 1,312.820312.1875
Script end 2.1131  1,325.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.1577160.0002
Check MTime0.00150.0686160.0001
Mysql Total
Database connection0.00230.110010.0023
Mysqli_queries2.056797.3299570.0361
Looping result0.00100.0451550.0000
Template Total2.047596.921.0238
Template load0.00180.086520.0009
Template processing2.045796.808221.0228
Template load and register function0.00020.008810.0002
states
state_id_array0.00480.228510.0048
state_identifier_array0.00300.139920.0015
Override
Cache load0.00140.0683220.0001
Sytem overhead
Fetch class attribute can translate value0.00140.064420.0007
Fetch class attribute name0.00250.116840.0006
XML
Image XML parsing0.00080.037320.0004
class_abstraction
Instantiating content class attribute0.00000.000540.0000
General
dbfile0.00090.0421150.0001
String conversion0.00020.007640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs