Media Conversion Tool

  0 rating
10/25/2012 1:08:20 AM
4/17/2015 1:40:07 PM
Provider: Sitecore

About

The Media Conversion Tool allows you to convert media between a hard drive location and a Sitecore database.

Documentation

Documentation
  • Documentation > Administrations Guide
    Administrations Guide

    Introduction

    The Media Conversion Tool allows you to convert media between a hard drive location and a Sitecore database, and vice versa. With this module you can select files and set the storage type to either a hard drive location or a Sitecore database.

    All media items in sitecore are stored in one of two ways:

        1. As a file on a hard drive.
        2. As a blob field in the database

    These methods of storage both have positive and negative characteristics and in different cases either method can be more appropriate than the other. With the help of The Media Conversion Tool it is possible to convert a part or all of the media content to whichever storage method is more appropriate.

    Installation

    The Media Conversion Tool is distributed as a standard Sitecore package; hence in order to start using it, you should install the package.

    Configuration

    The following data should be added to the <controlSources> section of web.config:

    <controlSources>
    ………..
      <source mode="on" namespace="Sitecore.Modules.MediaConversionTool.Controls" assembly="MediaConversionTool" prefix="MCT" />
      <source mode="on" namespace="Sitecore.Modules.MediaConversionTool" folder="/sitecore modules/media conversion tool" deep="true" />
    </controlSources>

    User Guide

    The UI consist only of a main and a progress page. On the main page you can select the items to be processed and define the conversion target which is a file or a database. By default only administrators and users who are in the Sitecore Client Developers role have access to this module. Click Ok when you have finished selecting the items you wish to process and you will the progress page which will show a progress bar. After the conversion process has finished you can return to the main page or exit.

    0
  • Documentation > Getting Started with the Media Conversion Tool
    Getting Started with the Media Conversion Tool
    Introduction

    Media Conversion Tool is used to convert media item’s storing type. With it module you can select some items and converts them to files or stores them to a database.

    Media 1
    Picture 1. Media Conversion Tool

    Installation


    1. Install the package named MediaConversionTool.zip
    2. Add the next tag to the <controlSources> section of the web.config file


     <controlSources>
       ………..
          <source mode="on" namespace="Sitecore.Modules.MediaConversionTool.Controls" assembly="MediaConversionTool" prefix="MCT" />
          <source mode="on" namespace="Sitecore.Modules.MediaConversionTool" folder="/sitecore modules/media conversion tool" deep="true" />
        </controlSources>



    General description


    All the items with some media content stores its content in two ways:
    1) As a file on a disk
    2) As a “blob” field in the database
    This ways has their both positive and negative sides.  And in different cases one of them are more appropriate than the other.
    With a help of the current module it’s possible to convert a part or all the media content to be stored in the necessary way.


    User manual


    UI consist only with a “main” and with a “progress” page.  At the first, “main” page you can select some items to be processed and define the conversion target with is a file or database.


    Media 2
    Picture 2. Selecting some items


    Press the Ok button and you’ll the “progress” page which will show the progress bar and on which after the converting process you can return to the main page or exit the tool UI.


    Media 3
    Picture 3. Converting process

    New for version 6.5

    - Convert Media button to the Media tab in Content Editor for all media items. It launches the MCT application and sets context item to the selected one.

    Media 4

    - Convert Media shortcut to Folder Editor for Media Folders. It lunches the MCT application and sets context media folder to the selected one.

    media 5

    - Changed target selection to Radiobuttons instead of a Dropdown control

    media 6

    - Added /App_Config/Include/Sitecore.Modules.MediaConversionTool.config file with required configuration settings.
    - Made “MediaStorageManager.DeleteConvertedFiles” and “MediaStorageManager.EnableDetailedLogging” available as configurable settings in the module config file.

    Valid properties/parameters

    The files that are result of conversion process will be stored under the media folder which is defined in the web.config file’s <setting > section:


    <settings>
    …..
          <setting name="Media.FileFolder" value="/App_Data/MediaFiles" />
    …..
    </settings>


    1
Back
Release notes
The module was added 08-09-2008

The module was updated 31-10-2012

The module was updated on 27-06-2014.
The architecture was changed to use Sitecore pipelines mechanism. It was compiled against .NET 4.0 framework and Sitecore 7 DLLs.
Read more Back
Code examples

Solution screenshots(0)

Upload

Reviews (0)

Sort by: Date Most votes
  • Profile Avatar
    [fullName]

    Level: 0

    x0 x0 x0

    [date]

    [title]

    [text]

    Was this helpful?

    0

Comments (0)

Sort by: Date  Most votes

Leave a Comment

Comment must be field in
Post comment
loader

Write a review

Title can't be empty
Review can't be empty
Post review

Download

Title Description Download Action

Add File