{"id":4372,"date":"2022-03-21T06:14:34","date_gmt":"2022-03-21T06:14:34","guid":{"rendered":"https:\/\/povahost.com\/wp\/?p=4372"},"modified":"2022-04-26T14:22:05","modified_gmt":"2022-04-26T14:22:05","slug":"how-to-upload-large-images-in-wordpress","status":"publish","type":"post","link":"https:\/\/povahost.com\/wp\/how-to-upload-large-images-in-wordpress\/","title":{"rendered":"How to Upload Large Images in WordPress"},"content":{"rendered":"<p>How to upload large images in WordPress. Many users see an error when trying to upload larger images in WordPress. This is due to the file size limit. In this article, we will show you how to fix this issue in WordPress.<\/p><h2 class=\"wp-block-heading\" id=\"h-reasons-why-you-cannot-upload-large-images-in-wordpress\">Reasons Why You Cannot Upload Large Images in WordPress?<\/h2><p>The reason you cannot upload large images in wordpress is because your&nbsp;<a href=\"https:\/\/povahost.com\/wphosting.php\">hosting<\/a>&nbsp;provider may have configured the server in a way that places a reasonable limit on file upload sizes. The image below shows you an example of how to see the limit<\/p><figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"520\" height=\"263\" src=\"https:\/\/povahost.com\/wp\/wp-content\/uploads\/2022\/03\/how-to-upload-large-images-in-wordpress.png\" alt=\"How to upload large images in wordpress\" class=\"wp-image-4380\" srcset=\"https:\/\/povahost.com\/wp\/wp-content\/uploads\/2022\/03\/how-to-upload-large-images-in-wordpress.png 520w, https:\/\/povahost.com\/wp\/wp-content\/uploads\/2022\/03\/how-to-upload-large-images-in-wordpress-300x152.png 300w, https:\/\/povahost.com\/wp\/wp-content\/uploads\/2022\/03\/how-to-upload-large-images-in-wordpress-150x76.png 150w, https:\/\/povahost.com\/wp\/wp-content\/uploads\/2022\/03\/how-to-upload-large-images-in-wordpress-450x228.png 450w\" sizes=\"(max-width: 520px) 100vw, 520px\" \/><\/figure><p>Another issue which may stop you from uploading large image files is memory limit.<\/p><p>By default, your WordPress site is allowed to use a reasonable amount of memory. When a script runs for too long and exhausts the defined memory limit, then you will see an error.<\/p><p>If you\u2019re encountering either of these errors, then this article will help you fix that so you can easily upload large files to WordPress.<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-fix-the-issue-with-uploading-large-images-in-wordpress\">How to fix the issue with uploading large images in WordPress<\/h2><p>Step1: Add this code in your functions.php&nbsp;file<\/p><figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td><code>@ini_set( 'upload_max_size', '64M');<\/code><br><code>@ini_set( 'post_max_size', '64M');<\/code><br><code>@ini_set( 'max_execution_time', '300');<\/code><\/td><\/tr><\/tbody><\/table><\/figure><p>Step2: In case this method fails, you can try adding this code to your&nbsp;.htaccess&nbsp;file in your site\u2019s root folder.<\/p><figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td><code>php_value upload_max_filesize 64M<\/code><br><code>php_value post_max_size 64M<\/code><br><code>php_value max_execution_time 300<\/code><br><code>php_value max_input_time 300<\/code><\/td><\/tr><\/tbody><\/table><\/figure><p>Step3: Simply add this code below in your php.ini file;<\/p><figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td><code>upload_max_filesize = 64M<\/code><br><code>post_max_size = 64<\/code><br><code>Mmax_execution_time = 300<\/code><\/td><\/tr><\/tbody><\/table><\/figure><p>Step4: Contact us for assistance if you need help doing this. Our technical support <a href=\"https:\/\/nenics.com\">team<\/a> is available 24\/7 to handle your website issues.<\/p>","protected":false},"excerpt":{"rendered":"<p>How to upload large images in WordPress. Many users see an error when trying to upload larger images in WordPress. This is due to the file size limit. In this article, we will show you how to fix this issue in WordPress. Reasons Why You Cannot Upload Large Images in WordPress? The reason you cannot<\/p>\n","protected":false},"author":1,"featured_media":4374,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[346,348,347],"class_list":{"0":"post-4372","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-tutorials","8":"tag-free-tutorial-on-how-to-upload-large-images-in-wordpress","9":"tag-procedure-on-how-to-upload-large-images-in-wordpress","10":"tag-steps-on-how-to-upload-large-images-in-wordpress"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v17.8 (Yoast SEO v25.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Upload Large Images in WordPress 2022 | Free Tutorial<\/title>\n<meta name=\"description\" content=\"How to upload large images in WorodPress. Free tutorial on how to upload large images in WordPress. Contact us if you need any assistance.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/povahost.com\/wp\/how-to-upload-large-images-in-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Upload Large Images in WordPress\" \/>\n<meta property=\"og:description\" content=\"How to upload large images in WorodPress. Free tutorial on how to upload large images in WordPress. Contact us if you need any assistance.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/povahost.com\/wp\/how-to-upload-large-images-in-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Best Web Hosting Company\" \/>\n<meta property=\"article:published_time\" content=\"2022-03-21T06:14:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-26T14:22:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/povahost.com\/wp\/wp-content\/uploads\/2022\/03\/how-to-upload-large-files-in-wordpress.png\" \/>\n\t<meta property=\"og:image:width\" content=\"520\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Brayi - SEO Expert\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Brayi - SEO Expert\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/povahost.com\/wp\/how-to-upload-large-images-in-wordpress\/\",\"url\":\"https:\/\/povahost.com\/wp\/how-to-upload-large-images-in-wordpress\/\",\"name\":\"How to Upload Large Images in WordPress 2022 | Free Tutorial\",\"isPartOf\":{\"@id\":\"https:\/\/povahost.com\/wp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/povahost.com\/wp\/how-to-upload-large-images-in-wordpress\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/povahost.com\/wp\/how-to-upload-large-images-in-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/povahost.com\/wp\/wp-content\/uploads\/2022\/03\/how-to-upload-large-files-in-wordpress.png\",\"datePublished\":\"2022-03-21T06:14:34+00:00\",\"dateModified\":\"2022-04-26T14:22:05+00:00\",\"author\":{\"@id\":\"https:\/\/povahost.com\/wp\/#\/schema\/person\/5254c988dafe3a1117eeae44f815f179\"},\"description\":\"How to upload large images in WorodPress. Free tutorial on how to upload large images in WordPress. Contact us if you need any assistance.\",\"breadcrumb\":{\"@id\":\"https:\/\/povahost.com\/wp\/how-to-upload-large-images-in-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/povahost.com\/wp\/how-to-upload-large-images-in-wordpress\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/povahost.com\/wp\/how-to-upload-large-images-in-wordpress\/#primaryimage\",\"url\":\"https:\/\/povahost.com\/wp\/wp-content\/uploads\/2022\/03\/how-to-upload-large-files-in-wordpress.png\",\"contentUrl\":\"https:\/\/povahost.com\/wp\/wp-content\/uploads\/2022\/03\/how-to-upload-large-files-in-wordpress.png\",\"width\":520,\"height\":300,\"caption\":\"How to upload large files in WordPress\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/povahost.com\/wp\/how-to-upload-large-images-in-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/povahost.com\/wp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Upload Large Images in WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/povahost.com\/wp\/#website\",\"url\":\"https:\/\/povahost.com\/wp\/\",\"name\":\"Best Web Hosting Company\",\"description\":\"Blazing Fast, Low Cost Web Hosting\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/povahost.com\/wp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/povahost.com\/wp\/#\/schema\/person\/5254c988dafe3a1117eeae44f815f179\",\"name\":\"Brayi - SEO Expert\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/povahost.com\/wp\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/446a355a897cd87639a522776f85bd4deae7a38fd644b404318355386e8ef53a?s=96&d=wavatar&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/446a355a897cd87639a522776f85bd4deae7a38fd644b404318355386e8ef53a?s=96&d=wavatar&r=g\",\"caption\":\"Brayi - SEO Expert\"},\"sameAs\":[\"https:\/\/povahost.com\/wp\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Upload Large Images in WordPress 2022 | Free Tutorial","description":"How to upload large images in WorodPress. Free tutorial on how to upload large images in WordPress. Contact us if you need any assistance.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/povahost.com\/wp\/how-to-upload-large-images-in-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How to Upload Large Images in WordPress","og_description":"How to upload large images in WorodPress. Free tutorial on how to upload large images in WordPress. Contact us if you need any assistance.","og_url":"https:\/\/povahost.com\/wp\/how-to-upload-large-images-in-wordpress\/","og_site_name":"Best Web Hosting Company","article_published_time":"2022-03-21T06:14:34+00:00","article_modified_time":"2022-04-26T14:22:05+00:00","og_image":[{"width":520,"height":300,"url":"https:\/\/povahost.com\/wp\/wp-content\/uploads\/2022\/03\/how-to-upload-large-files-in-wordpress.png","type":"image\/png"}],"author":"Brayi - SEO Expert","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Brayi - SEO Expert","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/povahost.com\/wp\/how-to-upload-large-images-in-wordpress\/","url":"https:\/\/povahost.com\/wp\/how-to-upload-large-images-in-wordpress\/","name":"How to Upload Large Images in WordPress 2022 | Free Tutorial","isPartOf":{"@id":"https:\/\/povahost.com\/wp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/povahost.com\/wp\/how-to-upload-large-images-in-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/povahost.com\/wp\/how-to-upload-large-images-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/povahost.com\/wp\/wp-content\/uploads\/2022\/03\/how-to-upload-large-files-in-wordpress.png","datePublished":"2022-03-21T06:14:34+00:00","dateModified":"2022-04-26T14:22:05+00:00","author":{"@id":"https:\/\/povahost.com\/wp\/#\/schema\/person\/5254c988dafe3a1117eeae44f815f179"},"description":"How to upload large images in WorodPress. Free tutorial on how to upload large images in WordPress. Contact us if you need any assistance.","breadcrumb":{"@id":"https:\/\/povahost.com\/wp\/how-to-upload-large-images-in-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/povahost.com\/wp\/how-to-upload-large-images-in-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/povahost.com\/wp\/how-to-upload-large-images-in-wordpress\/#primaryimage","url":"https:\/\/povahost.com\/wp\/wp-content\/uploads\/2022\/03\/how-to-upload-large-files-in-wordpress.png","contentUrl":"https:\/\/povahost.com\/wp\/wp-content\/uploads\/2022\/03\/how-to-upload-large-files-in-wordpress.png","width":520,"height":300,"caption":"How to upload large files in WordPress"},{"@type":"BreadcrumbList","@id":"https:\/\/povahost.com\/wp\/how-to-upload-large-images-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/povahost.com\/wp\/"},{"@type":"ListItem","position":2,"name":"How to Upload Large Images in WordPress"}]},{"@type":"WebSite","@id":"https:\/\/povahost.com\/wp\/#website","url":"https:\/\/povahost.com\/wp\/","name":"Best Web Hosting Company","description":"Blazing Fast, Low Cost Web Hosting","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/povahost.com\/wp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/povahost.com\/wp\/#\/schema\/person\/5254c988dafe3a1117eeae44f815f179","name":"Brayi - SEO Expert","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/povahost.com\/wp\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/446a355a897cd87639a522776f85bd4deae7a38fd644b404318355386e8ef53a?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/446a355a897cd87639a522776f85bd4deae7a38fd644b404318355386e8ef53a?s=96&d=wavatar&r=g","caption":"Brayi - SEO Expert"},"sameAs":["https:\/\/povahost.com\/wp"]}]}},"_links":{"self":[{"href":"https:\/\/povahost.com\/wp\/wp-json\/wp\/v2\/posts\/4372","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/povahost.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/povahost.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/povahost.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/povahost.com\/wp\/wp-json\/wp\/v2\/comments?post=4372"}],"version-history":[{"count":15,"href":"https:\/\/povahost.com\/wp\/wp-json\/wp\/v2\/posts\/4372\/revisions"}],"predecessor-version":[{"id":4401,"href":"https:\/\/povahost.com\/wp\/wp-json\/wp\/v2\/posts\/4372\/revisions\/4401"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/povahost.com\/wp\/wp-json\/wp\/v2\/media\/4374"}],"wp:attachment":[{"href":"https:\/\/povahost.com\/wp\/wp-json\/wp\/v2\/media?parent=4372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/povahost.com\/wp\/wp-json\/wp\/v2\/categories?post=4372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/povahost.com\/wp\/wp-json\/wp\/v2\/tags?post=4372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}