This post is about how to sync your photos on your digital picture frame between one or several computers using Resilio Sync. In short, Resilio Sync is like Dropbox but for the Raspberry Pi. It is especially useful if you want to allow one or more persons to add or modify the pictures without access to the local wifi network to which the picture frame connects.
It is ideal for a family where, e.g., the photo frame is with the parents, and the children live outside of the family home or for companies wanting to administer an advertising frame in the reception area remotely.
Resilio Sync works like Dropbox with the difference that no copies of the files are being stored in the Cloud or on any other server. And unlike Dropbox, it works on the Raspberry Pi.
I'll show you how to install it on your Raspberry Pi and to share your image folder with anyone you like.
Folder sharing among colleagues, family & friends
Imagine you have three children living all over the world who can all quickly add images to your digital picture frame at home. It can be a lot of fun.
When one of my nieces got pregnant, she didn't immediately tell her mother. Instead, she uploaded an ultrasonic image with a little baby-peanut to her parents' digital picture frame using Resilio Sync. So imagine the surprise when a few days later, this image randomly came up on the screen. Tears rolled, calls were made, bottles were uncorked.
To open up your digital photo frame to others is quite simple. You are undoubtedly familiar with Dropbox, the software that allows you to sync and share entire folders with business partners or friends, or to keep a copy in the cloud. Unfortunately, Dropbox does not work on ARM-based computers like the Raspberry Pi.
Resilio, however, does. It is a similar tool with one exciting advantage.
Resilio Sync - like Dropbox but more private
Resilio Sync doesn't store the files on a cloud server but keeps them only synchronized between peers. This means that your data is never shared outside of the community that you define. This is great for managing your photos on your digital picture frame.
Resilio Sync used to be called BitTorrent Sync but was spun out of BitTorrent Inc. in 2016. The company claims to offer "for a wide array of applications such as large file collaboration, file sync, folder sync, automated backup, and sending large files faster and more securely, the industry leading and fastest private cloud solution trusted by millions of consumers and thousands of business worldwide."
For many years, I have come to appreciate the speed and stability of Resilio Sync. It works great for managing your images on your digital picture frame from wherever you are. And it's free for home use.
Why Dropbox doesn't work on the Raspberry Pi
It took me a while to figure this out. I tinkered with an app called Dropbox Uploader but wasn't successful to make it sync bi-directionally.
Dropbox natively isn't compiled for the ARM processor. Any solutions you can find are more or less complicated workarounds and emulate an x86 environment.
To my knowledge, Dropbox has not announced any plans to bring it to the Raspberry Pi.
How to install Resilio Sync on your Raspberry Pi
The following instructions assume that you have access to your Raspberry Pi via Terminal (for Windows PuTTY) and that you have file sharing activated. If you haven't, please read the article "How to set up your Raspberry Pi for your digital picture frame" first.
On your normal PC or Mac, download the ARM HF version of Resilio Sync for Home Use from the Resilio website. This is a free version that has all the functionality that we need for our use case. If you have a corporate use case, you should check the licensing terms.
Access the Raspberry Pi through the network sharing and create a new directory in your home directory called "Resilio".
Unzip the file that you just downloaded from the Resilio website and move the rslsync file to the newly created directory on the Raspberry Pi.
Go into the "Pictures" folder and create a new directory "ourphotos".
Connect to your Raspberry Pi in Terminal through ssh.
In Terminal, enter
If you haven't used crontab -e before, you will be asked which editor you would like to use. I recommend #2, the nano editor.
Add this line:
@reboot /home/pi/Resilio/rslsync --webui.listen 0.0.0.0:8888
Save with CTRL+O and exit with CTRL+X. Reboot your Raspberry with
sudo reboot now
Resilio Sync is now up and running on your Raspberry Pi.
You can access the graphical interface by opening a browser window on your computer and typing in
Enter your username your password. Press "Continue".
Now enter the name how you want your digital picture frame to appear in Resilio, e.g., "digitalpictureframe". Check the two boxes.
Another window will come up and ask you for username and password, enter the same values as you just did.
Tell Resilio Sync which folder you want to designate for sharing by clicking on "+" in the upper left corner. Select a Standard Folder and navigate to the folder with your photos that you created earlier. Start by selecting "Home" and you will find your Pictures folder. Click "Open".
In the share window, change the permission to "Read & Write" and uncheck "New peers I invite must be approved by me".
Click "Email" if you want to send someone the link to this folder, "Copy" to store the link in the clipboard.
If you want the link to be used several times because you are sending it to a group of people, you have to increase the value in "Link can be used .. time(s)".
On each computer that you designate for sharing your folder, Resilio Sync must be installed. This is also explained in the email that the recipient receives.
If you later want to add people to your shared folder, repeat the procedure.
If you don't want to install Resilio Sync on all shared computers, you can also use Dropbox by placing your shared Resilio Sync folder in your Dropbox directory. From there on, you can share your Dropbox folder.
Congratulations! You have now made it very easy to add images to your digital photo frame.