640px is the content size set in your functions.php. Here is an example of the content width set in the bundled theme twentyfourteen in twentyfourteen/functions.php#L28
if ( ! isset( $content_width ) ) {
$content_width = 474;
}
In this example, the image size will be 474 px.
The content size will be the size used when images are inserted as attachments in the content when creating posts
EDIT
From the comments from the OP, to remove this restrictions, have a look at the 2 following posts
Related Posts:
- image_size_names_choose filter doesn’t show
- Register an additional image size for only some images in my media library
- resize from small images to large
- Featured images get shrunken
- wp_get_attachment_image_src returns the wrong image
- Intersept image upload and generate retina image from source
- How do you alter the default WordPress thumbnail?
- Recalibrate _wp_attachment_metadata Image Dimensions
- WordPress lowers image quality
- add_image_size() in custom theme is not generating and saving any thumbnail
- WordPress not using edited image
- Change the default-view of Media Library in 3.5?
- List of available events for wp.media
- Which filters or actions to use after a media upload and delete?
- WordPress 3.5 attachment_fields_to_edit and media_send_to_editor
- Why is wp_get_attachment_image_src not working with my custom size (add_image_size)
- How to upload an image in the plugin’s options page
- How can I hide media library images from general users?
- How can I attach images to a post from the media library?
- Remove the columns in media library
- Using WordPress as a document library
- Admin Media grid view images won’t load
- WordPress function: limit size, only jpg, jpeg, limit of uploaded files per account
- Change default screen option value for media items per page (in media library)
- Making the Add Media Link URL into a checkbox
- Cannot access the thumbnails of attachment images… Cannot find the reason
- Show ids of displayed media library items
- how to download all media files into my computer
- Add image to media library from URL in uploads directory
- How does the media library determine if a PDF file has preview images?
- How can I autopopulate titles in the media library?
- Function to get image from media library
- Adding a querystring to an image URL when clicking ‘insert into post’?
- Getting media library popup in custom plugin admin page
- How can I make the Uploaded field editable for Media Library?
- Display only my own files/images in media library
- Images are randomly deleted from server
- Site icons with alpha channel for self-hosted WordPress blog network
- Can I stop wordpress generating media sizes
- HTTP Error when uploading files above 7mb unless using GD Image Editor
- Consolidating two websites into one, but migrated images not appearing in Image Library
- Why do I sometimes get an attachment id string instead of a url from an image’s guid field in the post table?
- How to change compression of WordPress uploads including original image
- Slow/Not Working Media Library Search
- wordpress not generate thumnails for mp4 videos
- Retrieve Image from Media Library by it’s category
- offload media to external services [closed]
- How to upload images in a specific folder using API
- AJAX – save an $_FILES picture in media library
- How do I migrate blog post images from one domain to a new one?
- How to prevent WordPress scaling large images down
- Manipulate an image before saving or after to the media libary
- Searching for any images in media library displays “no media found”
- Get the largest image based on a thumbnail in a URL
- How to get file URL from media library
- Image file names with a space in them
- Change media URL (images)
- the_post_thumbnail(“size”) returns same image for all sizes except thumbnail
- Redirect to another page using contact form 7? [closed]
- What happened to the media manger?
- Resize existing library images
- Media library disallows spammy filenames?
- Images are not showing up in “Uploaded to this post”
- Conditional tag to determine if the user is viewing the Add Media (after clicking Add media button)
- How can I delete duplicate `*-1.jpg` images?
- Change Image folder Locations
- Images are displaying as blank images
- Is it possible to share WordPress media files among different domains?
- How to manage a music library in wordpress
- WordPress Attachments with old images
- Large image not showing dimensions in Media Library
- WordPress ACF delete image from media library
- How can i sorting and display image order by siz in media library?
- WordPress Media Import, images not in Media Library
- Custom Image Widget
- Media Library Cleanup A Thought Exercise
- Want to sell images online on wordpress but slow image loading issues
- The image keep redirect to my previous URL after I moving my site
- Images uploaded via Gutenberg image block are cropped
- Update WP Media Library image unattended
- Query all images with certain tag in media library using visual portfolio plugin
- wp_get_attachment_image_src calling wrong location
- Uploads folder only showing files up to the letter “P”
- Redimension thumbnail crop without creating new images
- Edit image itself
- Moving wp from a server to another, with different administrator
- How to access media library?
- Missing Images in Uploads Directory (Server Only)
- How do I embed an image at actual size?
- Image media upload problem in page editing modus?
- Transfered live site to new server and images are not showing
- Limit files uploaded per folder
- Change the default-view of Media Library in 3.5?
- bulk deleting empty items in the media library
- Media Manager 3.5 custom options
- WordPress can’t get image url but both the attachment and the actual file are there
- Why some images are not allowed to be edited only for thumbnails?
- What does WordPress media uploader do to image files on upload?
- Upload to a specific media folder created by FileBird Lite
- Block non logged in users from accessing the media library