Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Increase Media Upload Size

Increase Media Upload Size

Scheduled Pinned Locked Moved General Discussion
7 Posts 3 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    R
    ryanlen
    wrote on last edited by
    #1

    Is there a way to increase media upload size beyond just a maximum of 2MB? Cause I do have animated GIFs that exceed 2MB but can't upload as a media. Using FTP is a bypass method but I can't see it in the media library. Any help would be great! Thanks in advance!

    1 Reply Last reply
    0
    • mariusjopenM
      mariusjopenM
      mariusjopen
      Global Moderator
      wrote on last edited by
      #2

      Hi @ryanlen

      Some people have tried using the htaccess method where by modifying the .htaccess file in the root directory, you can increase the maximum upload size in WordPress. Open or create the .htaccess file in the root folder and add the following code:

      php_value upload_max_filesize 64M
      php_value post_max_size 64M
      php_value max_execution_time 300
      php_value max_input_time 300
      

      Let me know if that worked for you!

      Best!

      Marius

      www.mariusjopen.world

      R 1 Reply Last reply
      0
      • mariusjopenM mariusjopen

        Hi @ryanlen

        Some people have tried using the htaccess method where by modifying the .htaccess file in the root directory, you can increase the maximum upload size in WordPress. Open or create the .htaccess file in the root folder and add the following code:

        php_value upload_max_filesize 64M
        php_value post_max_size 64M
        php_value max_execution_time 300
        php_value max_input_time 300
        

        Let me know if that worked for you!

        Best!

        Marius

        R
        R
        ryanlen
        wrote on last edited by
        #3

        @mariusjopen said in Increase Media Upload Size:

        php_value upload_max_filesize 64M
        php_value post_max_size 64M
        php_value max_execution_time 300
        php_value max_input_time 300

        Hey Marius,

        Is this the only method? Tried it but it crashed my site. Not sure what I did wrong. Haha. :/

        1 Reply Last reply
        0
        • mariusjopenM
          mariusjopenM
          mariusjopen
          Global Moderator
          wrote on last edited by
          #4

          Hi @ryanlen

          You can try to add this to your config.php file:

          
          define('WP_MEMORY_LIMIT', '64M');
          
          

          Let me know if that works!

          Best :-)

          Marius

          www.mariusjopen.world

          R 1 Reply Last reply
          0
          • mariusjopenM mariusjopen

            Hi @ryanlen

            You can try to add this to your config.php file:

            
            define('WP_MEMORY_LIMIT', '64M');
            
            

            Let me know if that works!

            Best :-)

            Marius

            R
            R
            ryanlen
            wrote on last edited by
            #5

            @mariusjopen Hey Marius,
            sorry for my delayed response. Tried to include the line in my wp-config.php file but it didn't work.

            Was wondering if there are any other ways? Apologies for this troublesome request.

            1 Reply Last reply
            0
            • silly.berlinS
              silly.berlinS
              silly.berlin
              wrote on last edited by
              #6

              @mariusjopen and others
              Hi, have somebody found a way to increase the upload limit yet? I tried several way I found, nothing worked out for me (functions.php, config.php, .htaccess, php.ini).
              Thanks for helping :)

              1 Reply Last reply
              0
              • mariusjopenM
                mariusjopenM
                mariusjopen
                Global Moderator
                wrote on last edited by
                #7

                Dear @ryanlen
                best is to contact your provider – it really depends on that sometimes.

                Best!

                Marius

                www.mariusjopen.world

                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                Online Users
                L
                lstark
                Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                laytheme.com
                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Recent
                • Tags
                • Popular
                • Users
                • Search