Image libraries
You display and manage all created libraries Images page.
The Images page displays the number of images in each library, the date of the last uploaded image, and where those images are stored.
Creating an image library
- On Images page, in the toolbar, click Create a library button.
The Create an image library page appears. - Enter the name of the library.
- To add a description of the library, click Click to add a description.
NOTE: The information you provide here is not public, it is for your reference only.
- You can define the maximum size of the library in MB and of each image in the library in KB by clicking Advanced.
The Max album size and the Max image size input fields appear There you enter the limit of the size in MB and KB respectively. - Under URL name of the library.
The automatically generated URL of the library appears.
To change it, click Change and enter a new URL name. - Under Parent library, choose where to create the library:
Select one of the following: - No parent
This will be a top level library that has no parent. - Select parent library…
A treeview with existing libraries appears.
Select the library that will be parent of the library you are creating.
NOTE: If the library you are creating is located in another library, it has the same settings as its parent. You can only set cache options, storage providers, and resizing options for a root library, located at top level.
- If in Step 6, you have chosen your library to be a top level library that has no parent, under Root library settings, you can configure the following:
- When you are finished, click one of the following:
- Create and go to upload images
The system creates the library and takes you to upload images.
Perform procedure Upload images » Step 3 to Step 9. - Create and go back to all images
The system creates the library and returns you to Images page Image Libraries page, depending on where you have started creating the library. - The Back to link
The system does not save the library you were working on and returns you to Images page or Image Libraries page, depending on where you have started creating the library.
Editing image libraries
- On Images page click the Actions link of the library you want to edit.
- From the dropdown box, click Edit Properties.
The Edit an image library page appears. - Perform Step 2 to Step 7 of the above procedure.
NOTE: If you are changing the URL of the library, Sitefinity CMS changes the URLs of the items one by one. In case of external storage, changing the library URL may cause data transfer from one storage to another. In case of failure, some of the items might keep their previous URLs and some of the items will have the updated URLs. You can try to resume to get the rest of the items relocated. - Click Save changes.
The system returns you to Images page.
Changing the parent library of an image library
Once created, a library can be moved together with all of its content to another library, by changing its parent library.
To do this, perform the following:
- Click the Actions link of the library that you want to move and from the dropdown, select Move to…
The Change parent library dialog appears. - Select the new parent library and click Move.
Moving images to another storage
You can change the blob storage provider of a library, which moves all items in a different storage. For example, an image library kept in the database can be moved to the cloud, or a library from one cloud account can be moved to another.
To do this, perform the following:
- Click the Actions link of the library whose items you want to move and from the dropdown, select Move to another storage.
- In the Blob storage provider dropdown box all available storage providers appear.
- Select where you want to move the items from the library and click Move to another storage.
NOTE: To use a CDN storage, you must configure the CDN blob storage provider. For more information, see Use CDN storage for content libraries.
Sitefinity CMS processes the library items one by one and displays a progress indicator in the grid. You can stop and resume the operation.
NOTE: In case of failure before the operation is completed, some of the library items may remain in the target storage, while the rest will stay in the source storage. You can try to resume the operation.
IMPORTANT: During the process of moving to another storage, you are not able to edit or delete the library items.
For more information, see Storage providers for libraries.
Deleting image libraries
To delete a library, perform one of the following:
- On Images page, select one or more libraries you want to delete and click Delete button in the toolbar.
- On Images page, click the Actions link of the library you want to delete and then click Delete.
- On Edit an image library page, click More actions » Delete.
A dialog box appears where you must confirm the deletion.