Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This chapter describes the supported media file types, how to import media into the library, how to view the media library, how to add media to a form, and how to manage media files.

Stoc

Supported Media

Virtually any type of media can be incorporated in Servoy. Servoy does have a built-in viewer for the following image file types:

...

Users can import other file types, such as sound, video, and image files, into the media library.

Importing Media

...

into the Library

There are several ways to import media files into a solution's Media library:

...

  1. View image
  2. Import media
  3. Import media folder
  4. Delete media
  5. Media Preferences

Viewing

...

the Media Library

To view a solution's media library:

...

  1. Click on the Media Preferences button in the contextual list mini-toolbar.
  2. Select Include Entries from Modules. Media items inside modules will be added to the contextual list.

Adding Media

...

to a Form

Media can be added to a form using either the Solution Explorer or the Form Editor Toolbar, which features a Place Media wizard with an image preview.

...

Tip

Tip: Media items can also be click-dragged to a Script Editor or CSS Editor window, in which case the file location for the media item will be inserted into the code.

Managing Items

...

in the Media Library

Once placed in the Media library, items can be deleted, renamed, and moved or duplicated to another module's Media library. These functions are accessed via the context menu of each item when displayed in Solution Explorer.

Deleting

...

an Item

To delete an item from the media library:

...

Alternatively, you can right-click on the item and select Delete from the context menu.

Renaming

...

an Item

To rename a media item:

  1. Right-click on the item.
  2. Select Rename media item.
  3. Enter the new name in the window that opens.
  4. Click OK to confirm.

Moving an Item

To move a media item to another module in the currently active solution:

  1. Right-click on the item.
  2. Select Move media. A window will appear with a drop-down menu listing the modules in the solution that you can move the media item to.
  3. Select the desired destination from the drop-down menu.
  4. Click OK to confirm.

Duplicating

...

an Item

A media item can be duplicated to another module in the currently active solution, or duplicated within the active solution's Media library. To duplicate an item:

...