Joe Crawford
Web developer & user interface engineer
Tinkering with the web since 1996

email: joe@artlung.com · twitter: @artlung
San Diego, California, USA
aka joecrawford.com

import-external-images 500 error with Ajax

I had a pile of back-images to import recently. For some reason WordPress Import External Images” was failing to work properly on the bulk task. It worked great on individual pages but for some reason the Ajax version would crap out.

Solution was to use a simple POST – accomplished by doing this in Chrome DevTools (or similar JS console) when logged in:


jQuery.ajax('/blog/wp-admin/upload.php?page=external_image', {method: 'POST', data: {action: 'backcatalog'}};

The plugin needs to be fixed. I swear it used to work.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.