• Updated

Media in Optimizely Content Management System (CMS) are images, documents (such as PDF or Word documents), videos, or mp3 files. Media files must be stored in the media library on the Media tab in the assets panel to be available in CMS. You can upload a media file to the assets panel and then drag and drop it onto a page or a block from the assets panel, or you can drag and drop the file straight from your computer onto a page or block. In this latter case, the file is automatically uploaded to the assets panel, and is stored in the For this Page or For this Block folder. See the Folders topic for information on organizing your files in folders.

Media folders

Search for media

Use the search field at the top of the panel to enter search criteria and retrieve media files. Clicking a search result expands the folder where the file is located. To browse for media files, click a folder to expand the folders and content beneath it.

Upload media

Media files are uploaded through drag and drop from a file location on your computer to the upload area. You can also click directly in the upload area to add files. Or, you can select Upload Files in the context menu for the target folder to which you want to upload files.

You must have Create access rights to the global or site-specific folder under For All Sites or For This Site where you want to upload a media file or the current page when uploading media files to the local For This Page folder.

Publish media

If your system is not configured to publish media files when uploaded automatically, you must manually publish or schedule for later publishing media files, just as with other items.

There are a few important things to know regarding publishing media files.
  • If media files should be automatically published on upload, you must have Publish access rights for the folder where you upload the files. See Access rights.
  • When a media file is automatically published, it may be immediately indexed by search engines and can be found in searches. This is worth remembering if you upload sensitive information that should not be accessible until a set time, such as an annual report.
  • If a content approval sequence is set on your media folder or if you have a project enabled when uploading media, media files are never published automatically.

Insert media

You can add links to uploaded media files or insert images and embedded media such as videos. See also: Add links and Add and edit images.

Preview media

Media files in list views are represented by thumbnail images. Common image file formats are rendered for preview by default in Optimizely, but other rendering formats can be developed.

Download media

Select the desired media file in the Media structure and Download in the context menu. Or, if you are previewing the media file, select Download this file from the Options menu.

Edit metadata for media

Available metadata fields depend on the implementation; images can have photographer, description, and copyright information. Select Edit for the desired media file in the Media structure, and then the All Properties view to edit the metadata properties.

Rename media

Select the media file in the Media structure, then the All Properties view, and change the Name and the Name in URL.

Renaming a folder or media file changes its URL. This does not break internal links on the website, but incoming links from external websites may break.

Replace media

To replace an existing media file with another, upload a new file with the same name to the same folder as the file you want to replace. A replaced media file is published immediately, affecting places on the website where the file is used.

If you change the name property, the file name in the database is also changed. If you rename an image, for example, from Button1.png to Button1, and you later want to overwrite this image, you have to upload an image with the name Button1 without the file extension. Otherwise, it is uploaded as a new file.

Renamed image property name

Due to website caching, the changes may not be immediately visible when replacing images. Refresh the page to see the changes.

Manage media file versions

Versions for media files are managed like for other types of content, that is, by using the Versions gadget. See Publish and manage versions.