views:

484

answers:

3

I'd like to know if the following situation and scripts are at all possible:

I'm looking to have a photo-gallery (Javascript) webpage that will display in order of the latest added to the Dropbox folder (PHP or Python?).

That is, when someone adds a picture to the Dropbox folder, there is a script on the webpage that will check the Dropbox folder and then embed those images onto the webpage via the newest added and the webpage will automatically be updated.

Is it at all possible to link to a Dropbox folder via a webpage? If so, how would I best go about using scripts to automate the process of updating the webpage with new content?

Any and all help is very appreciated, thanks!

+1  A: 

You can try this : http://forums.dropbox.com/topic.php?id=15885

Richarf
+1  A: 

If you can install the DropBox client on the webserver then it would be simple to let it sync your folder and then iterate over the contents of the folder with a programming language (PHP, Python, .NET etc) and produce the gallery page. This could be done every time the page is requested or as a scheduled job which recreayes a static page. This is all dependent on you having access to install the client on your server.

Adam Pope
A: 

You can use the (alpha) tool autodrop, wich is just that: a simple gallery frontend that uses images in Dropbox.

As said: alpha. I am still developing it, rewriting it and making it a little prettier and nicer. Written in Ruby, using dropbox, sinatra and HAML gems. So you will need a host that supports Ruby apps.

berkes