diff --git a/client/example.php b/client/example.php index 22528a3c..71f4a0fb 100644 --- a/client/example.php +++ b/client/example.php @@ -37,9 +37,9 @@ alert("New title: {$album->data->entity->title}"); $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: {$photo->url}"); alert("Album members: " . join(", ", $album->data->members) . ""); diff --git a/client/gallery.png b/client/gallery.png new file mode 100644 index 00000000..ca8e0e95 Binary files /dev/null and b/client/gallery.png differ