Magento Open Source 2.1.x

Media Storage

Media storage helps you organize and gain access to media files that are stored on the server. The path to the location of the files is determined by the Base URL configuration. Files in media storageA dedicated space on the content delivery network for your store's assets. can be accessed from the editor while working on pages and static blocks. Media storage is usually located in the file system on the same server as the Magento program files.

Alternatively, media files can be managed in a database, or located on a separate server or content delivery network. The editor can be configured to use either static or dynamic media URLs for catalog content in category or product descriptions.


Media Storage
To insert an image from media storage:

Method 1: From WYSIWYG Mode

On the toolbar of the WYSIWYG editor, click Insert Image ().

After the Image URL field, click Browse ().


Insert Image (WYSIWYG Mode)

In the directory tree on the left, navigate to the folder where the image is stored.

Select the tile of the image. Then, tap Insert File.


Insert File

Method 2: From HTML Mode

Position the cursor in the code where the <img> tag is to be inserted.

Tap Insert Image.


Insert Image (HTML Mode)
To upload files to media storage:

The first two steps are the same as if you are inserting an image.

On the toolbar of the WYSIWYG editor, click Insert Image ().

After the Image URL field, click Browse ().

In the directory tree on the left, do one of the following:

  • Navigate to the folder where you want to save the uploaded image.
  • Navigate to the place where you want to create a new folder, and tap Create Folder. Then, enter the folder name, and tap OK.

To upload file(s) to media storage, tap Choose Files . Then, do the following:

In the directory of your local computer, navigate to the location of the images.

Select each image that is to be uploaded.

Tap Open.

The images are uploaded to the current media storage folder on the server.


Media Storage