Page History
...
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:
...
- View image
- Import media
- Import media folder
- Delete media
- Media Preferences
Viewing
...
the Media Library
To view a solution's media library:
...
- Click on the Media Preferences button in the contextual list mini-toolbar.
- 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:
- Right-click on the item.
- Select Rename media item.
- Enter the new name in the window that opens.
- Click OK to confirm.
Moving an Item
To move a media item to another module in the currently active solution:
- Right-click on the item.
- 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.
- Select the desired destination from the drop-down menu.
- 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:
...