I ran into a similar issue with the same symptoms. What I determined was in my theme’s function.php there was a DEBUG statement that output some html. While this was fine for browsing, when the POST request came into admin-ajax.php to refresh the thumbnails, it was causing the infinite spinning wheel and not showing images. I removed the output from functions.php and problem was resolved.
Not sure if this will work for you, but I found the issue by using the following command:
curl -X POST http://YOUR_DOMAIN_NAME_HERE/wp-admin/admin-ajax.php -d 'action=query-attachments&post_id=0&query[orderby]=date&query[order]=DESC&query[post_per_page]=40&query[paged]=1'
Related Posts:
- Upload images to remote server
- Different upload path per file type
- HTTP Error when uploading files above 7mb unless using GD Image Editor
- Bulk edit of EXIF data for jpeg images uploaded in the media library?
- Images uploaded to the media library has strange colors. However, in the edit screen the color is ok
- Get images attached to a specific page
- Is there a way in WordPress to convert images to WebP without a plugin?
- WordPress append -1 to the image name
- unsharp thumbnails after uploading image
- Missing Images in Uploads Directory (Server Only)
- Broken Media Library
- Blurry Images WordPress 5.8.1
- How to delete resized (cropped) image uploads and prevent future resizing?
- Uploaded images don’t show in Media Library if there are special characters in IPTC Keywords
- Which filters or actions to use after a media upload and delete?
- Using Images in WordPress – Best Practices
- Media Upload Folder – how to manage
- Use Media Library to manage galleries like Nextgen (with folders, albums, collections, tags, categories, terms…)
- How do i upload an image and return the image id?
- Alter media caption/description conflict in WordPress?
- Restrict the number of images to upload per post
- WordPress function: limit size, only jpg, jpeg, limit of uploaded files per account
- Uploading images to Media Library fails with Memory Exhausted
- Edit image preview is not displayed
- How to add a media with PHP
- Uploading images: ‘ø’ get replaced with ‘ø’
- How to make programmatic image upload generate thumbnail and sizes?
- Best way to strip character entities (%20 etc)
- What’s the best “insert all images” plugin?
- Site icons with alpha channel for self-hosted WordPress blog network
- Rename media files generated during upload
- wordpress media library shows empty images
- How to order images in a post in WordPress 3.3?
- Change WordPress Media Manager
- image in my post disappeared after I upload website to remote server
- Handling image uploads without thickbox
- How can I create more upload paths, like a post corresponding to a post title folder used to store images of the same product
- WordPress automatically downscaled images larger that original
- How to open default wp image editor screen dynamically?
- Is it possible to split Default WP Media directory to multiple Folder/Subdomain?
- Searching for any images in media library displays “no media found”
- Ho to add “Create Slider” option to default “Add Media” popup?
- How to upload WordPress Images to remote web server and display those images in WordPress gallery [closed]
- What is the alternative to “ when it comes to calling Media (image) files in the ‘attachment.php’ file?
- How to get file URL from media library
- Change wp-content/uploads to uploads/%postname%/%image%
- Blank upload.php page
- Change media URL (images)
- Uploaded images not displaying in network site
- Unable to upload images to the Media Library. Getting this erron on the console wp-admin/async-upload.php 403 (Forbidden)
- Why does WP allow to view and media item as a page
- How to limit the number of images displayed in the media window?
- Upload media only to DB
- Images are not showing up in “Uploaded to this post”
- Create a post from every image in my media gallery
- Images don’t update after being edited
- Change Image folder Locations
- Auto delete pictures in media library by age
- Some Images Disappeared from Media Library?
- WordPress Attachments with old images
- Disable image rename on upload
- How to change the value “uploaded to” in the media library (WordPress 4.0)
- How can i identify media uploaded to my website that is not being used anywhere anymore?
- image URL changed in wordpress
- Serving Images from subdomain in wordpress
- User uploads image as “Featured Image” but WordPress resizes it?
- Profile image does not upload
- cant upload media/pictures to my wordpress site, cant upload anything to my database
- Upload error on localhost (at minimum, not yet tested online)
- Could creation of various image sizes cause slow form submission response?
- Updated wordpress missing image upload area
- Post-processing of the image failed
- How to handle a lot of media files in the uploads folder? (+10.000)
- Broken images in media library
- Images are not getting uploaded
- Unable to delete images in Media Library
- Edit image itself
- Assign one featured image to multiple posts?
- Transfered live site to new server and images are not showing
- Limit files uploaded per folder
- My image rotate 90 degree
- How do I change a Themes Header Image?
- Why some images are not allowed to be edited only for thumbnails?
- My subdirectory sites images (except webP) are throwing to 404 page even they are exist
- What does WordPress media uploader do to image files on upload?
- Uploading media to wordpress API with C# HttpClient
- Rename attachments during upload
- Why can’t I edit certain images from the WordPress Media library?
- How do I get allowed Media Library upload file extension list?
- Multiple images with Media Uploader on front-end
- Show image crop window on image upload
- WordPress media uploader – upload tabs not hiding
- Upload multiple images and insert them into custom html code
- Set Maximum Width for an uploaded image
- Open Media Uploader Link in single post or page
- How to change image’s author via a function when using GravityForms uploader? [closed]
- Using WP-CLI “wp media import” to sync files to the media library
- Can’t upload Images to WordPress – Error 500 Response
- Adding attachment custom field metadata to TinyMCE tag
- Upload button in metabox not working