Is it possible to have the pictures on a external fileserver accessible through sftp?
Since i have limited diskspace on my host, it would have been neat to be able to fetch pictures from an highspeed external sftp site (which i have) to a limited picture cache on my webhost.
is this possible today og in the future? or never?
-Jon
Posts: 2322
This will likely never be an option. Definitely not in G1. I can't say "never" for G2, but it's unlikely.
We need the ability to directly manipulate the files with very short time limits.
Posts: 3
I understand...
But what I was kind of thinking was using the gallery webhost as a pure picture cache for the external sftpsite - that way the gallery would be able to operate locally on the requested objects in the cache, and retrieve the others lazily as needed. It would of course take longer time to load, but when its loaded and cached it would be as fast as usual. The gallerysite would only contain the album information and the albumcache. The cache size would be configurable depending on the traffic on the site.
It would have made be use the gallery to a greater extend.
Posts: 3236
The programming required to do this wouldn't be worth the ROI. So far you are the only one suggest use of sftp, so its likely that less than 1% of gallery users would be able to use this feature.
There are tons and tons of other reasons this wouldn't work well, but it would take a while to go into it
G1 does have mirroring to save BW and something simliar is planned for G2 (but more powerful).
Posts: 3
he,he ok!
Don't develop this just for me
-Jon
Posts: 3236
Of course, all that said its very likely you will see something along the lines of what you ask. Almost certainly not the cache portion, but the offsite re-location. It would enable one to run their site on a slower, home connection while still serving a majority of the large content from a faster system.
If YOU want to develope a module like this for G2 (and it is certainly possible), even if you are the only one who uses it... it would still be worth it to you.
This would literally be close to impossible with G1... but I could see something like it working with G2. Some people want a flickr interface similar to what you are talking about.