File tree 2 files changed +7
-4
lines changed 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ angular.module('photoboxApp')
19
19
ngfKeep : "'distinct'" ,
20
20
ngfMinRatio : "2:3.01" ,
21
21
ngfMaxRatio : "16.01:9" ,
22
+ ngfMinWidth : "400" ,
23
+ ngfMaxWidth : "4400" ,
22
24
ngModelOptions : { allowInvalid : true }
23
25
} ) ;
24
26
@@ -29,10 +31,11 @@ angular.module('photoboxApp')
29
31
}
30
32
31
33
$scope . $watchCollection ( 'vm.files' , function ( newVal , oldVal ) {
34
+ console . log ( "newVal:" , newVal ) ;
32
35
var fileErrors = 0 ;
33
36
for ( var i = 0 ; i < newVal . length ; i ++ ) {
34
37
if ( newVal [ i ] . dimensions === undefined ) {
35
- appendDimensions ( newVal [ i ] ) ;
38
+ // appendDimensions(newVal[i]);
36
39
}
37
40
if ( newVal [ i ] . $error !== undefined ) {
38
41
fileErrors += 1 ;
Original file line number Diff line number Diff line change 2
2
< div class ="pseudo-table ">
3
3
< div class ="row head ">
4
4
< div class ="cell name "> Filename</ div >
5
- < div class ="cell image-dims "> Dimensions</ div >
5
+ <!-- < div class="cell image-dims">Dimensions</div> -- >
6
6
< div class ="cell size "> Size</ div >
7
7
< div class ="cell upload-progress "> Upload progress</ div >
8
8
< div class ="cell preview-thumb "> Preview</ div >
12
12
< div class ="cell name ">
13
13
{{file.name}}
14
14
</ div >
15
- < div class ="cell image-dims ">
15
+ <!-- < div class="cell image-dims">
16
16
{{ file.dimensions.width }}×{{ file.dimensions.height }}
17
- </ div >
17
+ </div> -->
18
18
< div class ="cell size ">
19
19
{{convertBytesToKB(file.size)}} KB
20
20
</ div >
You can’t perform that action at this time.
0 commit comments