Clone wiki

Synology Static Photo Gallery / Installation

SPG Installation

Prerequisites


python The only prerequisite you need to run SPG is Python. You should download and install it from the "Available" tab under the package manager.

Installation

  1. Log onto the DSM UI and launch the Package Center
    Package Center
  2. Add the package repository by adding https://www.cphub.net as a Package Source in Package Center.
  3. You'll find Static Photo Gallery under the Community section.
  4. Click on Install
  5. Agree to the license and click Next
    License
  6. Fill out the copyright holder and click Next
    Basic
  7. Complete the web export configuration and click Next
    Web
  8. Complete the S3 configuration and click Next*
    S3
  9. Confirm the last page and click Apply
    Confirm

S3 Notes

When you use the S3 synchronization functionality, I recommend creating and using a new IAM user with the following permissions:

{
  "Statement": [
    {
      "Sid": "SPGListAllBuckets",
      "Action": [
        "s3:ListAllMyBuckets"
      ],
      "Effect": "Allow",
      "Resource": [
        "arn:aws:s3:::*"
      ]
    },
    {
      "Sid": "SPGControlMyBucket",
      "Action": [
        "s3:DeleteObject",
        "s3:GetObject",
        "s3:GetObjectAcl",
        "s3:ListBucket",
        "s3:PutObject",
        "s3:PutObjectAcl"
      ],
      "Effect": "Allow",
      "Resource": [
        "arn:aws:s3:::BUCKETNAME*"
      ]
   }
  ]
}

Move on to Usage to find out how to use SPG.

Updated