1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

What folders XFMG takes in account to display the global "Disk Usage"

Discussion in 'Media Gallery Support' started by imthebest, Apr 14, 2015.

  1. imthebest

    imthebest Formerly Super120

    On my installation I see the following in the Gallery Statistics block: Disk Usage: 1.6GB

    However the size of the directory data/xengallery is 2.6GB. And I think XFMG also stores copies of its media on other folders inside data and also inside internal_data.
  2. Chris D

    Chris D XenForo Developer Staff Member

    It doesn't aggregate the file size from the file system, it gets them from the xf_attachment_data table. It sums up the file_size field of the media items as cached in that table.

    So, it doesn't count anything in the data directory.
  3. imthebest

    imthebest Formerly Super120

    Okay so I change my question: what folders XFMG uses to store all it's data? I mean media, media thumbnails, everything.
  4. Chris D

    Chris D XenForo Developer Staff Member

    data/xengallery for thumbnails
    internal_data/attachments for full size images (among the rest of the XF attachments)

Share This Page