File sources

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

Using the four tabs at the top part of the dialog window, you can choose where the image or media should be inserted from. The following tabs are available:

 

Attachments

 

This tab is available only when the WYSIWYG editor is placed on some document (e.g. Form tab, user contributions, ...) so that the attachments of the current document can be offered. In other parts of the CMS, the tab is not displayed.

 

You can insert the document's unsorted attachments into the text from this tab. You can filter the listed attachments by Name using the filter above the list. For more information about document attachments, please refer to the Document attachments chapter of this guide.

 

You can select an attachment using the Select (Next) icon or by simply clicking the appropriate line (or tile/thumnail in the other view modes).

 

You can upload new attachments to the document via this dialog using the New file (NewFile) button. The following actions can be performed with the listed attachments:

 

After clicking the View (View) icon, the attachment will be opened in a new window.
Using the Delete (Delete) icon, you can remove the attachment from the document.
Using the Move up (Up) and Move down (Down) icons, you can re-order the attachments. This option is available only in the List view mode. The order is stored in the AttachmentOrder property of each attachment. You can enter AttachmentOrder into the ORDER BY expression property of a displaying web part to have the attachments ordered accordingly.
Images have also the Edit (Edit) icon available. Clicking this icon opens the image in the built-in image editor.
Using the Update (Update) icon, you can replace the original attachment with a new one.

 

devguide_clip0743

 

Content

 

From this tab, you can insert files stored in the content tree of any of the sites running in the system. The site to insert from can be selected using the Site drop-down list, while its content tree will be displayed below. You can define which sites will be available and the starting alias path of the displayed content tree when defining the field in field editor, as described here.

 

If you select a node of the content tree, all insertable files stored under it will be listed in the main area. You can filter the listed files by Name using the filter above the list.

 

You can select a file using the Select (Next) icon or by simply clicking the appropriate line (or tile/thumbnail in the other view modes).

 

New folders (cms.folder documents) can be created in the content tree via this dialog using the New folder (NewFolder) button. You can also upload new files (cms.file documents) into the content tree using the New file (NewFile) button. You can also perform the following actions with the listed files:

 

After clicking the View (View) icon, the file will be opened in a new window.
Images have also the Edit (Edit) icon available. Clicking this icon opens the image in the built-in image editor.

 

devguide_clip0748

 

Media libraries

 

From this tab, you can insert files stored in a media library. Depending on the settings described here, you can select a library using the set of three drop-down lists - Site, Group and Library - in the top right part of the dialog.

 

More information about Kentico CMS Media libraries can be found in this chapter.

 

When the library is selected, its folder structure is displayed below the drop-downs. After selecting a folder, its content will be offered in the main area. You can filter the listed files by Name using the filter above the list.

 

You can select a file using the Select (Next) icon or by simply clicking the appropriate line (or tile/thumbnail in the other view modes).

 

You can also perform the following actions with the listed files:

 

After clicking the View (View) icon, the file will be opened in a new window.
Images have also the Edit (Edit) icon available. Clicking this icon opens the image in the built-in image editor.

 

devguide_clip0752

 

Web

 

From this tab, you can enter an image, audio, video or flash from the Web by entering its URL. More information on how to use this tab can be found in this chapter.

 

devguide_clip0754

 

Page url: http://devnet.kentico.com/docs/5_5r2/devguide/index.html?wysiwyg_file_sources.htm