How to Fix WordPress Images That Won’t Load
Your product photos vanished after a migration, or only some images show up. Follow the image URL from the page to the file and find where it breaks.
On this page 6 sections
Your product page still has titles and prices, but the photos are blank. If WordPress images not loading started after a move, plugin update, or domain change, don’t upload the whole media library again yet. First find out whether the page points to the wrong address, the file is missing, or the server refuses to serve it.
WordPress images not loading: start with one broken image
Pick one page where an image is missing and open it in a private browser window. Right-click the empty image area and choose “Open image in new tab” or “Copy image address.” The browser’s result narrows the search:
- A 404 page means the requested file wasn’t found at that address.
- A 403 or “Forbidden” response means the server found a restriction.
- A URL with the old domain or
http://may point to an outdated location or trigger a mixed-content block. - If the image URL opens, but the page stays blank, inspect the page’s HTML or browser console for lazy-loading or JavaScript errors.
Write down the full URL and the response you see. Use that same image for each check below, so you don’t mix clues from different files.
Check whether the image file still exists
In WordPress, open Media → Library, switch to list view if needed, and search for the image by its filename. Open its attachment details and compare its file URL with the address copied from the broken page. A mismatch can mean the page contains an old URL even though the image remains in the library.
If the attachment is missing, look at the server’s uploads folder through your hosting file manager or SFTP. WordPress normally stores uploads under wp-content/uploads, grouped into year and month folders. Find the exact filename from the broken URL. If it is there, compare capitalization and spelling: some servers treat Product-Photo.jpg and product-photo.jpg as different files.
If the file is absent from both the library and uploads folder, restore that specific image from your own backup or original source. Re-uploading a replacement with the same name may not repair older pages if WordPress saved a different URL or generated a different image size.
Repair an old domain or HTTP image address
A migration from a staging domain or a change from HTTP to HTTPS can leave old image links inside page content. Open the broken URL and compare its domain and protocol with the current site address. If the page requests http://example.com/... while your site uses HTTPS, the browser may block the image as mixed content.
In the WordPress dashboard, check Settings → General. “WordPress Address (URL)” and “Site Address (URL)” should use the current domain and protocol. Don’t change them just because one image URL looks old; first confirm that the whole site has moved to the new address.
For links stored in posts and page content, use a migration tool that can replace the old domain safely, or ask someone who can work from a database backup. A plain database-wide text replacement can damage serialized plugin settings. Before any search-and-replace, export a database backup and test the replacement on a private copy. ITForces’ website check can show site errors and HTTPS status; it makes no changes to your site.
Check permissions without loosening the whole site
When the image file exists but its URL returns 403, inspect permissions in your hosting file manager. Upload folders need to be readable by the web server, and files need read access. Avoid setting every file to fully writable just to make images appear; that grants more access than image delivery needs.
Also inspect the uploads folder and any image-protection or security plugin settings. Hotlink protection, a firewall rule, or a security plugin can block image requests while the rest of the page loads. If a setting changed recently, disable only that specific rule briefly on a private copy, then check the same image URL again. Don’t turn off site security broadly on a live store.
Test plugins and generated image sizes
If the original image URL works but thumbnails or resized versions fail, regenerate the missing sizes after confirming the original file is present. A theme or plugin can request image dimensions that were never created, especially after a theme change. Check the page source for the exact filename it requests, then compare it with the files in that upload’s folder.
When images stopped loading after a plugin change, use a staging copy if your host provides one. Deactivate the suspected image optimization, cache, or lazy-load plugin on that copy and reload the page. If the image returns, update or reconfigure that plugin rather than leaving it disabled without checking what else it handles. ITForces works with WordPress and fixes on a private copy, so the live site stays untouched while the repair is checked.
Choose the next step by what you found
| What the test shows | Practical next move |
|---|---|
| URL returns 404 and file is missing | Restore the image from your backup or source, then update the page’s media item. |
| URL uses the old domain | Confirm the current site URL, back up the database, then replace old links safely. |
| File exists but returns 403 | Check that file’s permissions and the rule blocking access. |
| Original loads, thumbnail fails | Regenerate the missing image sizes and check the theme’s requested dimensions. |
| Only pages using one plugin fail | Reproduce the issue on a private copy and test that plugin there. |
For one forgotten image, fixing the URL or restoring the file is usually enough. If an entire library broke after migration, or a store’s product images fail across several plugins and themes, stop changing settings on the live site and make a copy for diagnosis first.
If you can’t trace the broken image to a URL, file, or rule, send ITForces the affected page and what the image URL returned; ask the ITForces team to fix it.