Ask your WordPress questions! Pay money and get answers fast! (more info)

How do I bulk import about 1,000 images?


I'm going to use a jQuery image slideshow which will randomly grab 10 images and show them. The images all have names like this:




The naming convention allows the Javascript to randomly pick them based on a number. All the Javascript needs to know is the path to the directory. But I'd also like to be able, later on, months from now, to browse these images from the WordPress admin.

Is there a way to do both?

Answers (3)


Buzu B answers:

you can upload multiple images using the media uploader. Just go to media>add new and press the add Select Files button. Make sure you are using the flash uploader.

Once you press the button, a window will pop up and you can select all the files you want to upload. I just click on the first one, then press Shif and click on the las one (assuming they are all together). The press Select (or whatever you button says). Wordpress will upload the files for you.

I think there is a 8MB limit so, you might have to repeat the process a few times.

Buzu B comments:

Oh, take a look at this, It is basically what I explained above, but with images and more in-depth explanation: [[LINK href=""]][[/LINK]]


Nile Flores answers:

If you are bulk uploading and want to use the default WordPress media Library, you can even upload via FTP to - your wp-content/uploads folder.

HOWEVER, you need to make a year folder and within that folder put folders with the months - 01, 02, 03, 04, 05, 06, 07

Because this is the 7th month, you need to load your images into the wp-content/uploads/2010/07/


The media library may not be able to handle a direct bulk upload due to data resource usage limit with your webhost (if you are a shared, VPS or reseller client.)


B L answers:

There is the "add from server" plugin:
[[LINK href=""]][[/LINK]]

You don't say what version of wordpress you are on, but as far as I know there are a few issues with wp3 and this plugin - these should be fixed soon enough though. Worst comes to the worst, you could ftp the images up and then write the sql to insert the data into the wp tables yourself.