Merge branch 'master' of github.com:flynx/ImageGrid

This commit is contained in:
Alex A. Naanou 2019-04-15 03:23:13 +03:00
commit 1191d49b21

View File

@ -1834,6 +1834,9 @@ var FileSystemWriterActions = actions.Actions({
// limit preview size...
// NOTE: also remove the preview resolution if
// it's smaller...
// XXX if we are limiting preview size then we
// need to also update .path to the correct
// preview size (use a preview as source)
.filter(function(res){
// no size limit or match...
if(!max_size || parseInt(res) <= max_size){