phonegap random photo + photo server