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

MG 1.0 Duplicate Files On Server

Discussion in 'Media Gallery Support' started by dieselpowered, Jul 28, 2015.

  1. dieselpowered

    dieselpowered Member

    So I noticed when you upload an image to the gallery, it is stored twice on the server. One in the attachments directory and another in the gallery directory.

    Is this as designed?

    Thanks in advance!
  2. Chris D

    Chris D XenForo Developer Staff Member

    Yeah it's a bit of a design issue but one that's mostly necessary. The image itself isn't stored twice, but the thumbnail is. One is created by the XF attachment system, the other is created for the Gallery.

    As it is only the thumbnails it is safe to ignore as the space requirements are less than the full size images.
  3. dieselpowered

    dieselpowered Member

    Ahhh ok, so is the full size image stored in the DB or on the server?

    Thanks Chris!
  4. Chris D

    Chris D XenForo Developer Staff Member

    Stored on the server. Full size images and attachments are in the internal_data/attachments directory. In the numbered directories you will find the .data files. These are the original files for the gallery or uploaded attachments.

Share This Page