Accessing Photos and Pictures on Synology Diskstation NAS: Difference between revisions

From Littledamien Wiki
Jump to navigation Jump to search
Line 15: Line 15:
The goal is to access images outside the `/photos` directory without having to resort to copying them into the `/photos` directory.
The goal is to access images outside the `/photos` directory without having to resort to copying them into the `/photos` directory.


# Create a symbolic link in the `/photos` directory that links to the other directory.
* Create a symbolic link in the `/photos` directory that links to the other directory.
## Enable SSH connections to the NAS.
** <div class="alert alert-warning">Symbolic links have not worked on DS916.</div>
### DSM > Control Panel > Terminal & SNMP > Terminal tab > Enable SSH Service
** Enable SSH connections to the NAS.
### Now it's possible to SSH (as admin) to the DiskStation's IP using login credentials of one of DSM user accounts.
*** DSM > Control Panel > Terminal & SNMP > Terminal tab > Enable SSH Service
### `cd /volume1/photos`
*** Now it's possible to SSH (as admin) to the DiskStation's IP using login credentials of one of DSM user accounts.
### `ln -s /volume1/shared/some_other_directory link_alias` - make sure these symbolic links are owned by `admin`
*** `cd /volume1/photos`
# Re-index the media files.
*** `ln -s /volume1/shared/some_other_directory link_alias` - make sure these symbolic links are owned by `admin`
## <strike>DSM > Control Panel > Media Library > Media Library tab > Re-Index button</strike><br />'''DSM''' > '''Control Panel''' > '''System''' group > '''Indexing Service''' > '''Media Indexing''' tab > '''Media Indexing''' group > '''Re-Index''' button
* Re-index the media files.
** <strike>DSM > Control Panel > Media Library > Media Library tab > Re-Index button</strike><br />'''DSM''' > '''Control Panel''' > '''System''' group > '''Indexing Service''' > '''Media Indexing''' tab > '''Media Indexing''' group > '''Re-Index''' button
* '''Alternative method:''' Add directories outside of the `/photo` directory by mounting them in that directory.
** <div class="alert-warning">This method has been tested on the `picture reference` directory, but has '''NOT''' been confirmed to work.</div>
** SSH in as `admin`
** Create mount point within `/photos`, e.g. `mkdir /volume1/photo/my\ photos`
** Mount the directory outside `/photos`, e.g. `mount --bind /path/to/my\ photos /volume1/photo/my\ photos`
** Re-index the media files.
*** '''DSM''' > '''Control panel''' > '''System''' > '''Indexing Service''' > '''Media Indexing''' tab > '''Re-Index''' button
*** '''DSM''' > '''Control panel''' > '''System''' > '''Indexing Service''' > '''File Indexing''' tab > '''Indexed Folder List''' button > select the folder(s) to index and click the '''Re-Index''' button


=== iPad ===
=== iPad ===

Revision as of 19:41, 13 February 2017

Overview

Information and configuration about accessing and viewing image files on Synology DiskStation NAS.

Configuration

Photo Station

Install Photo Station via the DSM Package Manager.

Photo Station can only access files that are placed under the /photos directory. N.B. The /photos directory is on the same level as the /shared directory, not under it.

Accessing images outside the /photos directory

The goal is to access images outside the /photos directory without having to resort to copying them into the /photos directory.

  • Create a symbolic link in the /photos directory that links to the other directory.
    • Symbolic links have not worked on DS916.
    • Enable SSH connections to the NAS.
      • DSM > Control Panel > Terminal & SNMP > Terminal tab > Enable SSH Service
      • Now it's possible to SSH (as admin) to the DiskStation's IP using login credentials of one of DSM user accounts.
      • cd /volume1/photos
      • ln -s /volume1/shared/some_other_directory link_alias - make sure these symbolic links are owned by admin
  • Re-index the media files.
    • DSM > Control Panel > Media Library > Media Library tab > Re-Index button
      DSM > Control Panel > System group > Indexing Service > Media Indexing tab > Media Indexing group > Re-Index button
  • Alternative method: Add directories outside of the /photo directory by mounting them in that directory.
    • This method has been tested on the picture reference directory, but has NOT been confirmed to work.
    • SSH in as admin
    • Create mount point within /photos, e.g. mkdir /volume1/photo/my\ photos
    • Mount the directory outside /photos, e.g. mount --bind /path/to/my\ photos /volume1/photo/my\ photos
    • Re-index the media files.
      • DSM > Control panel > System > Indexing Service > Media Indexing tab > Re-Index button
      • DSM > Control panel > System > Indexing Service > File Indexing tab > Indexed Folder List button > select the folder(s) to index and click the Re-Index button

iPad

  1. Install the DS Photo+ app.
  2. Configure settings to connect to the DiskStation (IP/address, user, password)
  3. Once logged in, everything under /photos on the DiskStation should be accessible.

Keywords

photos, photographs, picture reference, images, pictures, cloud, synology, diskstation, NAS, DSM, Photo Station, iPad