Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Now this far I've only showed you how to upload an individual file into the Moodle file browser. But in the last movie Photoshop created a ImageGallery for us and it created a whole lot of compressed images and a bunch of thumbnail images for us and we'd like to batch upload all of these files at one time. Now to do this it's pretty straightforward. What we can do is simply select all of the images. We'll start with the larger images by hitting Command+A or Ctrl+A and then we'll Right-click or Ctrl-click on the Mac. On the Mac we're going to select Compress and the number of times that have been selected.
If you're using Windows, you would select Send to and Compressed Zip from the contextual menu. Now what this going to do is it is going to create a zip file for us. We'll go ahead and grab this file called Archive. zip. I'll grab that and drag it out to our desktop. We're going to be able to upload this zip file directly up into Moodle. So for the thumbnails, let's go ahead and select the entire thumbnails folder, again Right-click or Ctrl- click on that. On the Mac we'll select Compressed thumbnails and on Windows Send to Compressed Zip. We'll go ahead and drag that thumbnail.zip file out to our desktop as well.
We'll also go ahead and compress the entire ImageGallery because we want to show an example in just a second of linking to the entire ImageGallery. So go ahead and Right-click or Ctrl-click on the ImageGallery folder that we created in the previous exercise and simply select Compress ImageGallery or Send To Compress Zip. So now we have these three zip files that we can upload. So now let's go ahead and go back to Moodle. In the lower left-hand side, in the Administration block, go ahead and click on the link for files. Now we'll go ahead and go into the Images folder by clicking on the link for Images folder.
We can see the header.jpg that we uploaded in a previous exercise but now let's go ahead and upload each of these zip files. So we'll start with the first one, go ahead and click the Upload a file button. We'll browse, click back out to our desktop and we'll start with the Archive.zip file, click the Open button and click the Upload this file button. Now we've got our Archive.zip file in here and we can simply then click on Unzip.
A bunch of information is going to show up on screen, go ahead and scroll all the way to the bottom. This is going to tell us all the different files that are being extracted out of this zip file and then click OK. We can see all of those image files that Photoshop compressed for us, are now located up here. One thing to note is that if you're doing this on a Mac, Macs have a resource fork and because of that when you create a zip Archive, it's going to create this bogus folder. It's going to have two underscores and then say MACOSX.
Go ahead and check the box next to that folder and scroll all the way down to the bottom. Then with chosen files, click that dropdown menu and simply say Delete Completely. Go ahead and scroll all the way to the bottom again and click Yes. And that resource fork folder that was created for you will be gone. Now if you're doing this on Windows, you wont have to do that at all. Let's go ahead and upload the thumbnails and the ImageGallery as well. Again scroll down to the very bottom of the screen and we'll click the Upload a file.
We'll click the Browse button, come over and click on thumbnails.zip and then click Open and click the Upload this file button and scroll on down in the list until you find the file that says thumbnails.zip and you can click the Unzip button. It's going to again show us the listing of all the files that are included here. Scroll on down to the bottom. Click OK. This time because we zipped up the entire folder, Moodle is going to automatically create a folder for us on the file browser and have all the thumbnails in there. Here's again that MACOSX file. I'll go ahead and quickly get rid of that, check it, scroll down to the bottom and Delete Completely, scroll down to the bottom and say Yes. That's gone. All of our thumbnails are there.
One more thing let's go ahead and upload that image gallery. So scroll one down to the bottom one more time, click the Upload a file button, and click the Browse button, click on ImageGallery.zip and say Open and click the Upload this file. Scroll down in the listing until you find ImageGallery.zip and on the right, click the Unzip button. Scroll down to the bottom. Say OK. Once more for the Mac users, we'll get rid of the MACOSX resource fork folder. Select that, come down to the bottom and Delete Completely, let's scroll down and say Yes.
Now we've been able to upload all of these different files directly into Moodle. Let's go ahead and return back to the course. So batch uploading of lots of files is easily done. You just want to create a zip archive of all the files and all the folders that you want to upload, upload that zip file and then unzip it on the Moodle server and it will be able to batch upload, and you can have lots of different directories underneath, you can have as many files in there as you want and it gives you a very quick way to upload all of those at once.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 64867 Viewers
80 Video lessons · 124403 Viewers
52 Video lessons · 60327 Viewers
59 Video lessons · 46153 Viewers