23. Importing Medias from XML into MediaLibrary 1.5.x Shop

In this article we will take a look at importing Medias from an XML file into MediaLibrary Shop 1.5.x. This can be from an XML export you did earlier, or from a freshly created XML file.

What does the XML Export function say?

First, let's take a good look at what the XML Export function says:


XML export is the preferred way to export Medias with Media Descriptions and Media Reviews present

XML export will contain all Media details, including Descriptions and Reviews, ready for later import What does the XML Import function say?


XML import is the preferred way to import Medias with Media Descriptions and Media Reviews present

XML import will import all Media details, including Media Descriptions and Media Reviews

If the user who wrote the original Media Review does not exist anymore in the system, the Review will be assigned to "Anonymous" Importing an XML file in MediaLibrary 1.5.x Shop

Go to [Components] - [MediaLibrary] - [Import/Export] and choose the [Import] tab.

 MediaLibrary - Import/Export

Choose XML for the [Import Type] and a Category to import into.

Next use [Browse] to point to the XML file.

Then click the [Import Medias] button on the top bar.

Because XML imports also contain user submitted Media reviews, you will see the following warning:

Click [OK].

You will see the following screen which gives you the results of the import:


MediaLibrary Import result


Click [Back] in the top bar to return to the [Import/Export] page, or go to [Components] - [MediaLibrary] - [Medias] to go to the Media Manager window. You will see the Medias you have just imported, still unpublished.

You can now publish the Medias, or edit each Media as you wish.

If you do full import.

For restore all images covers and eMedia please recove files from folder: {yours site}/components/com_medialibrary/emedia/ and {yours site}/components/com_medialibrary/covers/ - what you saved at export before.

What are you looking for?
Anti-spam question: How many eyes has a typical person?