Only Vision can run local code with filesystem access. Vision has limited ability to run while disconnected. You may want a stripped-down full gateway to run the persistent tasks per site.
For delivering photos to Perspective clients, you might be interested in my free Blob Server module.