Skip to content

Commit

Permalink
Merge 852651f into 5eac908
Browse files Browse the repository at this point in the history
  • Loading branch information
chregu committed Sep 8, 2022
2 parents 5eac908 + 852651f commit 5105e70
Show file tree
Hide file tree
Showing 6 changed files with 2,666 additions and 2,477 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
# 3.9.0 - [08-09-2022]

- Added support for getting a list of images in an album via `rokka.render.imagesByAlbum`

# 3.8.0 - [16-08-2022]
- Added support for locked sourceimages.
See [the Source images Guide](https://rokka.io/documentation/references/source-images.html#lock-a-source-image-to-prevent-deletion) for details.
Expand Down
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -775,6 +775,13 @@ Get URL for rendering an image.
rokka.render.getUrl('myorg', 'c421f4e8cefe0fd3aab22832f51e85bacda0a47a', 'png', 'mystack')
```

#### rokka.render.imagesByAlbum(organization, album, options)

Get image hashes and some other info belonging to a album (from metadata: user:array:albums)
```js
rokka.render.imagesByAlbum('myorg', 'Albumname', { favorites })
```

#### rokka.render.signUrl(url, signKey, [{until:Date = null, roundDateUpTo:number = 300}]) → string

Signs a Rokka URL with an option valid until date.
Expand Down

0 comments on commit 5105e70

Please sign in to comment.