mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
minor changes to defaults...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
2b0ae5c167
commit
a5bbae8ae8
@ -117,6 +117,9 @@ var SharpActions = actions.Actions({
|
||||
|
||||
|
||||
// .makePreviews()
|
||||
// .makePreviews('all')
|
||||
// -> actions
|
||||
//
|
||||
// .makePreviews('current')
|
||||
// -> actions
|
||||
//
|
||||
@ -126,11 +129,8 @@ var SharpActions = actions.Actions({
|
||||
// .makePreviews([gid, gid, ..])
|
||||
// -> actions
|
||||
//
|
||||
// .makePreviews('all')
|
||||
// -> actions
|
||||
//
|
||||
// XXX should this account for non-jpeg images???
|
||||
makePreviews: ['Sharp/Make image previews',
|
||||
makePreviews: ['Sharp|File/Make image previews',
|
||||
function(images, sizes, base_path, logger){
|
||||
var that = this
|
||||
logger = logger || this.logger
|
||||
@ -138,7 +138,8 @@ var SharpActions = actions.Actions({
|
||||
|
||||
|
||||
// get/normalize images...
|
||||
images = images || this.current
|
||||
//images = images || this.current
|
||||
images = images || 'all'
|
||||
// keywords...
|
||||
images = images == 'all' ? this.data.getImages('all')
|
||||
: images == 'current' ? this.current
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user