mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a5bbae8ae8
commit
baf062fd03
@ -116,21 +116,25 @@ var SharpActions = actions.Actions({
|
|||||||
}],
|
}],
|
||||||
|
|
||||||
|
|
||||||
// .makePreviews()
|
|
||||||
// .makePreviews('all')
|
|
||||||
// -> actions
|
|
||||||
//
|
|
||||||
// .makePreviews('current')
|
|
||||||
// -> actions
|
|
||||||
//
|
|
||||||
// .makePreviews(gid)
|
|
||||||
// -> actions
|
|
||||||
//
|
|
||||||
// .makePreviews([gid, gid, ..])
|
|
||||||
// -> actions
|
|
||||||
//
|
|
||||||
// XXX should this account for non-jpeg images???
|
// XXX should this account for non-jpeg images???
|
||||||
makePreviews: ['Sharp|File/Make image previews',
|
makePreviews: ['Sharp|File/Make image $previews',
|
||||||
|
core.doc`Make image previews
|
||||||
|
|
||||||
|
Make previews for all images...
|
||||||
|
.makePreviews()
|
||||||
|
.makePreviews('all')
|
||||||
|
-> actions
|
||||||
|
|
||||||
|
Make previews for current image...
|
||||||
|
.makePreviews('current')
|
||||||
|
-> actions
|
||||||
|
|
||||||
|
Make previews for specific image(s)...
|
||||||
|
.makePreviews(gid)
|
||||||
|
.makePreviews([gid, gid, ..])
|
||||||
|
-> actions
|
||||||
|
|
||||||
|
`,
|
||||||
function(images, sizes, base_path, logger){
|
function(images, sizes, base_path, logger){
|
||||||
var that = this
|
var that = this
|
||||||
logger = logger || this.logger
|
logger = logger || this.logger
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user