# Photos

Applications can view image files from the /media partition by using the Application Manager's launch method and by specifying a target URI that points to a file encoded in a supported image format. Several common image formats are supported. For a full list of file formats, see Resource Types.

Images loaded through the Application Manager's open method are opened in the Browser.

## Method

This section describes the following method:

- launch

### launch

Views the file that is located at the target URI, downloading it first if not already on the device. If the URI is not specified, it launches the photos application to its normal starting scene, or to the specfied albumID if provided.

Required parameter:

- id

#### Parameters

Parameter | Type | Description
--- | --- | ---
id | string | Set to "com.palm.app.photos".
params | object | Optional. The Photos app does not use params.

#### Return Handling

There are no attributes for return handling.

#### Example

>     this.controller.serviceRequest('palm://com.palm.applicationManager', {
>       method:'launch',
>       parameters: {
>           id:"com.palm.app.photos",
>           params: {}
>       }
>     });

## Sample Code

See Services Sample.