Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthormmbaragar
    • CommentTimeFeb 20th 2009
     
    I am just wondering if it is possible to increase the default 2MB file size limit in a plogger gallery.

    My SLR camera takes pics at a size of about 3.2MB each, and it's a real pain to have to downsize images to upload them to my gallery. I am running 3.0 beta.

    Help??
    •  
      CommentAuthorsidtheduck
    • CommentTimeFeb 20th 2009
     
    The 2MB file limit is set by your webhost, not Plogger. You will need to talk to your host about how to increase the upload_max_filesize, post_max_size, memory_limit, and max_execution_time variables. All of those variables will dictate the size limits of files uploaded to the server and processed by the Plogger script.
    • CommentAuthormmbaragar
    • CommentTimeFeb 20th 2009
     
    Perfect! I shall do that.


    Thanks so much for the help!!!
    • CommentAuthorhunger
    • CommentTimeMay 12th 2009
     
    FYI, if your host won't change your global PHP settings, you can do the following:

    Open a text editor, and create a text file, and type in your desired PHP modifications. E.g.,

    upload_max_filesize = 32M;
    post_max_size = 32M;
    max_execution_time = 180;
    memory_limit = 24M;

    Save this file as 'php.ini' and upload the file to plogger's admin directory, i.e., {directory-of-plogger-installation}/admin. Make sure you put the file in the admin directory, and not the plogger root directory (this took me forever to figure out).

    Note the modifications above work for me, but are only suggestions. I suspect some of the modifications are unnecessary to get "big" file uploads working; please feel free to experiment.

    Hope somebody finds this useful.
    •  
      CommentAuthorsidtheduck
    • CommentTimeMay 12th 2009
     
    hunger,

    Thanks for sharing, but not all servers allow local 'php.ini' files. Some hosts allow them, others allow .htaccess files (which can alter *some* values) and other allow nothing but what your host will set up for you. I wanted to say thanks for sharing, but get it out there to others reading your post that this may or may not work for you depending on your webhosts server setup.
    • CommentAuthorhunger
    • CommentTimeMay 12th 2009
     
    Thanks for clarifying. I wasn't aware of that.