1# File Subsystem Changelog
2
3## cl.file.1 Change of picker PhotoViewPicker.save() Compatibility
4
5Changed the [PhotoViewPicker.save()](../../../application-dev/reference/apis/js-apis-file-picker.md#save) interface compatibility.
6
7**Change Impact**
8
9For applications developed based on earlier versions, **PhotoViewPicker.save()** saves files only to the file manager directory, and these files are invisible in **Gallery**. To save a file to **Gallery**, create a media asset using a security component. For details, see [Creating a Media Asset Using a Security Component](../../../application-dev/file-management/photoAccessHelper-resource-guidelines.md#creating-a-media-asset-using-a-security-component).
10
11**Key API/Component Changes**
12
13| Module                   | Method/Attribute/Enum/Constant                                         | Change Type|
14| ------------------------- | ------------------------------------------------------------ | -------- |
15| picker   |   **function** PhotoViewPicker.save(option?: PhotoSaveOptions) : Promise<Array<string>> | Interface compatibility    |
16| picker   |   **function** PhotoViewPicker.save(option: PhotoSaveOptions, callback: AsyncCallback<Array<string>>) : void | Interface compatibility    |
17| picker   |   **function** PhotoViewPicker.save(callback: AsyncCallback<Array<string>>) : void | Interface compatibility    |
18
19**Adaptation Guide**
20
21**PhotoViewPicker.save()** starts **FilePicker** and saves files to a directory in the system file manager.
22From OpenHarmony_4.0.11.2, **FilePicker** cannot access assets in the media library. As a result, the files in the file manager directory cannot be viewed in **Gallery**. To enable the images or videos to be viewed in **Gallery**, use [**\<SaveButton>**](../../../application-dev/reference/arkui-ts/ts-security-components-savebutton.md) to save images or videos.
23
24**Example**
25
26See [Creating a Media Asset Using a Security Component](../../../application-dev/file-management/photoAccessHelper-resource-guidelines.md#creating-a-media-asset-using-a-security-component).
27
28<!--no_check-->