Skip to main content

Media Downloads - Item's File Size

Good user experience should indicate to a visitor if a file that they're about to download is 2K, 2MB or 2GB.
Since it was was not included in the initial release, I'm adding it back as a new, separate feature request for tracking purposes.
@Bruce Dunnan: Initial release will contain the tags for file size in KB, MB and GB.
Update: This feature will been removed from the initial release of the module. We will look at integrating it again in the future
https://roadmap.siteglide.com/feature-requests/p/media-downloads-module

Status: Completed5 comments

Log in to comment and vote

Comments5

  • Dean Vizer changed status to Completed
    •

    Jun 4, 2020

  • Dean Vizer

    •

    Jun 4, 2020

    An update has been released to the module (1.0.1) that will automatically generate and store the file size on file upload.
    You can then use the following fields in your layout to get the file size:
    {{this.sizeinkb}} - The file size of the download in Kilobytes
    {{this.sizeinmb}} - The file size of the download in Megabytes
    {{this.sizeingb}} - The file size of the download in Gigabytes
    Please note that if you already have a file uploaded with the module then you will have to re-upload the file to get the file size. This only needs to be done on existing items/files, new files will work automatically.
    Release notes -> https://help.siteglide.com/en/articles/4068189
    Docs -> https://help.siteglide.com/en/articles/3924599

  • Dean Vizer changed status to In Progress
    •

    Jun 1, 2020

  • Dean Vizer changed status to Planned
    •

    May 28, 2020

  • Dean Vizer

    •

    May 28, 2020