1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Image Storage, how it works??

Image Storage, how it works??

4 posts, 1 answered
  1. Haithem
    Haithem avatar
    10 posts
    Registered:
    08 Jul 2012
    20 Feb 2012
    Link to this post
    Hi there,

    I have a question regarding the image upload and where they are stored.
    I have created a new Module called Products and in which there is column for uploading images, I have set FileSystem as default storage provider and kept the default setting. So whenever I create a new entry to the Products module, i dont see the image uploaded in the ~/App_Data/Storage/FileSystem folder and I dont know where exactly the image is ?
    Could you please help me?

    Thank you for your help
  2. Stanislav Velikov
    Stanislav Velikov avatar
    1113 posts
    Registered:
    17 Aug 2017
    21 Feb 2012
    Link to this post
    Hello,

     The images from products module are uploaded in the default library. During the project creation the default library stores all images in the database. If you are using Sitefinity 4.4.2117 there is an option for each image library to change the file storage (form database to file system). Go to Content->Images and in the right sidebar click manage libraries and in the actions dropdown there is an option move to another provider. This will move all images from this library to the file system.

    Regards,
    Stanislav Velikov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Haithem
    Haithem avatar
    10 posts
    Registered:
    08 Jul 2012
    21 Feb 2012
    Link to this post
    Hi Stanislav,

    Thank you for help... I have managed to change to store the images in the File System.

    However, I am still curious, on how to track down those already inserted images in the DB. Is there a way to know when using the existing modules or creating a new one which table those binary data are inserted in?

    Thank you for your help
  4. Stanislav Velikov
    Stanislav Velikov avatar
    1113 posts
    Registered:
    17 Aug 2017
    22 Feb 2012
    Link to this post
    Hi,

     When moving an image library from one storage to another all images will be moved.
    The table where the images are stored is sf_media_content.

    All the best,
    Stanislav Velikov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
4 posts, 1 answered