Skip to content

Media Library

The Media Library centrally manages the media files used by your sliders. The library is shared per portal — all LayerGalleryPro module instances under the same portal use one library.

Where to find it

Click Library in the top menu of the management interface to open the Media Library page.

Browsing and filtering

Above the list is a group of type filter buttons — All / Image / Zip / Video / Doc — each showing the number of files of that type (e.g. Image (12)).

The search box on the right searches by file name keyword; click the magnifier button to run it.

The list is paginated, with the total count and page count shown (e.g. 36 Items / 2 Pages), and the File / Author / CreateTime / Status column headers are clickable to sort.

Uploading files

Click the Add New button next to the page title to open the Add New Media Library upload dialog, where you can select or drag-and-drop files:

  • Maximum file size is 20 MB (also constrained by the DNN site request limit, whichever is smaller);
  • Allowed file types: png, jpg, jpeg, gif, bmp, webp, mp3, mp4, flv, doc, xls, ppt, zip, rar;
  • an administrator can add more types via the module setting LayerGalleryPro_UploadExtensions (CSV format);
  • for security, dangerous server-executable extensions (aspx, exe, php, bat, etc.) are always rejected, regardless of the whitelist setting.

Upload feedback

Since version 2.2.0, rejected uploads are clearly reported on both the client and server side, and type detection additionally covers jpeg / svg.

Uploaded files can be selected directly when editing slide backgrounds and image layers.

Managing files

Each row shows a file icon/preview, file name, author, create time, status and actions. You can:

  • Bulk Actions: check multiple files (or select all via the header checkbox), choose Delete in the drop-down and click Apply to delete them in bulk.

Note

Before deleting a file, make sure no slide or layer is still referencing it, otherwise the related content will not display properly.

Relationship with slides

The library stores files, while slides are the content built from them. A typical workflow: upload images to the media library first, then select them directly when editing slide backgrounds or image layers.

Next Steps

Built with VitePress