I found the same issue here and the solution from there works: Settings in ‘Media > Settings’ is ignored when inserting images
The solution is as simple as paste this:
$content_width = 2000;// The value I want
in functions.php
Explanation copied from there(user Chip Bennett):
I believe your issue is that the value set for the global $content_width variable (which is 640px in Boilerplate and 584px in Twenty Eleven) is less than the width you’re specifying via Settings -> Media.
WordPress is overriding your user setting with the Theme-specific value. This actually makes sense, since a Theme knows its maximum content width, and using a larger image width than what the Theme is designed to accommodate would very likely break the Theme layout.
Related Posts:
- show hide image script after 4 seconds [closed]
- How to delete resized (cropped) image uploads and prevent future resizing?
- How to display a page’s featured image?
- Featured image shortcode
- Cropped featured image replaces original image in gallery
- Change html structure of all img tags in WordPress
- Prevent image upload unless exact size
- Use Media upload in custom widget on wordpress 3.5
- Theme Customiser Image Control
- Associate an existing image with a post
- Need help building a filter to edit the output of “image_send_to_editor”
- How to remove title attribute from gallery links and images
- How to increase media image scale limit?
- How to upload image without post ID using the new media uploader?
- How to default all users to no link for attachments?
- How to output placeholder image if no featured image set?
- Cannot access the thumbnails of attachment images… Cannot find the reason
- Display different header images based on current page
- Why html tags are being appended to my pictures?
- Set a background color per image added to a post
- add_image_size() to crop images into squares?
- How to create a simple slideshow out of a post image gallery?
- How Do I Delete All The Images from WordPress
- Consolidating two websites into one, but migrated images not appearing in Image Library
- Lazyload post thumbnails
- Is there a way to change wordpress image resize settings?
- wordpress media library shows empty images
- Is my code is right to make image shortcode
- Adding different backgrounds for different pages
- Mobile Featured Image Bug
- How to remove p tags around img and iframe tags in the acf wysiwyg field
- If Media Type .GIF
- image in my post disappeared after I upload website to remote server
- Pull images from the gallery
- Isolating images in uploads not used/recognised by WordPress
- Migrate image from my old blog
- the_post_thumbnail() image sizing problem?
- Imagick vs GD colour issues on image uploads
- Get ALT attribute from title post (code not work)
- images not showing after transfer
- How to configure sub-domain for images on Debian Apache VPS?
- Why it doesn’t show media urls on rest Api? (WordPress)
- Resize images in existing posts
- WordPress PNG compression issue
- Blank upload.php page
- The alt=”” attribute is empty
- Add custom text in the media library image meta area
- Unable to upload images to the Media Library. Getting this erron on the console wp-admin/async-upload.php 403 (Forbidden)
- how to move from content and place them elsewhere on a page template?
- Missing background image setting in admin of twenty nineteen
- Image editor is not loading
- Images give 404 after changing default domain
- Load Gallery Images with Title on Homepage BX Slider
- How can I check if the first block is an image aligned left or right?
- How would you add sequentially numbered labels to images in posts?
- Blurry images when using add_image_size with crop
- Can wp_get_image_editor convert to icon?
- How to get image URL from media_sideload_image?
- Product Images Low Quality After Updating From WP 3.5 to 4 [closed]
- Auto-crop width, not height
- How can I change the to for lazyload wp smilies
- How to post images on my blog with a pre-defined border
- Output posts attached images as thumbnails linked to full-size with lightbox class
- Making a parent directory writable by the server
- my featured image of wordpress are not showing in the front end though image are uploaded in media library
- Images getting smashed
- Unset image sizes before images are uploaded
- Word press cutting sliding images – not displaying the entire image
- Wrap post images with a link, not figure (image_send_to_editor doesn’t work)
- An error has occurred during the upload process in wordpress 5.3.2
- get_the_post_thumbnail() title and alt attributes not displaying
- What is the best way to host a site with many images without it being too slow?
- Show featured image in all posts
- How to re-arrange images in default WP Gallery more than one image at once?
- After moving a site to new hosting, not all images are showing in media library
- Load only imagens resized in custom page
- How to inject alt and title attributes for every image in each post into HTML?
- Custom Background for each page and post
- How to see previous –next image option in the theme?
- How can the alt be added to this wooCommerce category image?
- Getting the Select and Crop Functionality Using Custom Fields
- Displaying “alt” attribute text as captions?
- Need help making my homepage blog image smaller than my post image
- After I upload a file to library its name converted to dashes
- Image to only show up in the single post page, not on the blog/home page
- How do I display image files as links?
- Broken Media Library
- wp_get_attachment_image_src() does not return what I want
- 3.5.x Theme Customize: Handling Custom Control Requests
- Add category description to list of category with taxonomy image
- Wrap a post image with a div if it doesn’t have a caption
- Images in sub-pages fail to load
- How do add custom class and id to the that is generated from media gallery insert image into post [duplicate]
- How do I get the URL of only the first picture in a WordPress post?
- Adding different classes to different images depending on size for fine control of image layout in posts
- How to display image ALT under image?
- Faster image upload on mobile [closed]
- I am having trouble displaying an image at the top of a widget area [closed]
- Can’t upload svg files in WordPress
- Images uploaded in customized gallery do not link to media