Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • 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 1.5k Views
  • 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 Offline
    R Offline
    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 Offline
      mariusjopenM Offline
      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 Offline
        R Offline
        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 Offline
          mariusjopenM Offline
          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 Offline
            R Offline
            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 Offline
              silly.berlinS Offline
              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 Offline
                mariusjopenM Offline
                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
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                I also code custom websites or custom Lay features.
                šŸ’æ Email me here: šŸ’æ
                info@laytheme.com

                Before you post:
                1. When using a WordPress Cache plugin, disable it or clear your cache.
                2. Update Lay Theme and all Lay Theme Addons
                3. Disable all Plugins
                4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

                This often solves issues you might run into

                When you post:
                1. Post a link to where the problem is
                2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                Online Users
                A
                alasdair17
                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