mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +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()
|
||||||
|
// .makePreviews('all')
|
||||||
|
// -> actions
|
||||||
|
//
|
||||||
// .makePreviews('current')
|
// .makePreviews('current')
|
||||||
// -> actions
|
// -> actions
|
||||||
//
|
//
|
||||||
@ -126,11 +129,8 @@ var SharpActions = actions.Actions({
|
|||||||
// .makePreviews([gid, gid, ..])
|
// .makePreviews([gid, gid, ..])
|
||||||
// -> actions
|
// -> actions
|
||||||
//
|
//
|
||||||
// .makePreviews('all')
|
|
||||||
// -> actions
|
|
||||||
//
|
|
||||||
// XXX should this account for non-jpeg images???
|
// 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){
|
function(images, sizes, base_path, logger){
|
||||||
var that = this
|
var that = this
|
||||||
logger = logger || this.logger
|
logger = logger || this.logger
|
||||||
@ -138,7 +138,8 @@ var SharpActions = actions.Actions({
|
|||||||
|
|
||||||
|
|
||||||
// get/normalize images...
|
// get/normalize images...
|
||||||
images = images || this.current
|
//images = images || this.current
|
||||||
|
images = images || 'all'
|
||||||
// keywords...
|
// keywords...
|
||||||
images = images == 'all' ? this.data.getImages('all')
|
images = images == 'all' ? this.data.getImages('all')
|
||||||
: images == 'current' ? this.current
|
: images == 'current' ? this.current
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user