1
0

Specify a proper sample image and include it in the example so that

the example actually works.
This commit is contained in:
Bharat Mediratta 2010-03-30 20:14:22 -07:00
parent 214b362f29
commit f5d2c065dc
2 changed files with 2 additions and 2 deletions

View File

@ -37,9 +37,9 @@ alert("New title: <b>{$album->data->entity->title}</b>");
$photo = Gallery3::factory()
->set("type", "photo")
->set("name", "Sample Photo.jpg")
->set("name", "Sample Photo.png")
->set("title", "Sample Photo")
->set_file("/tmp/foo.jpg")
->set_file("gallery.png")
->create($album->url, $auth);
alert("Uploaded photo: <b>{$photo->url}</b>");
alert("Album members: <b>" . join(", ", $album->data->members) . "</b>");

BIN
client/gallery.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB