Forum Discussion
Where Stock Images are stored in SharePoint Online
- Aug 09, 2022
karen_dredske Stock images used in page banner or in image web parts are not stored in site assets library.
These images are hosted on public CDN by Microsoft & displayed using CDN URL.
For example, the image highlighted below is displayed using CDN URL as below:
Images uploaded from your computer will be stored in Site Assets library.
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Just because you delete a page, the corresponding folder in the Site Assets library is not deleted - ever. It will remain there unless you delete it yourself.
If you want to have a location that stores images that can be used across all SharePoint sites and and re-used. . . the best solution is to setup an Organization Assets site with a document library that is used for storing all images you want to make available. Instructions for how to set one up is here:
Create an organization assets library - SharePoint in Microsoft 365 | Microsoft Learn
When you do this, then when you go to add an image. . . you will now see an option in the Image screen that is called "Organization" and will display all the folders and files of images from there.
I'm not sure that the Site Assets library will allow you to create a new folder for storing images. That library is a customized document library which, as you know, automatically creates folders that are associated with each site page created in the site. It doesn't like it when you mess with how it is designed to work.
As karen_dredske mentioned, folder inside the Site Assets library will not be deleted automatically when you delete the site page.
Also, if you are trying to setup a folder to store the images which will be used on multiple pages from the same site only, you can create a folder within Site Assets library manually and use it. If you have full control permissions on the site, the Site Assets library will allow you to create a new folder for storing images without any issues.
If you want to use the images accross multiple/different sites in SharePoint, create and use organization assets library.
Please consider giving a Like if my post helped you in any way.