calculateSizes(330,300) Array ( [0] => Array ( [scaled] => 1 [iw] => 320 [ih] => 291 [max_w] => 330 [max_h] => 300 ) [1] => Array ( [scaled] => 0 [iw] => 330 [ih] => 300 [min_w] => 330 [min_h] => 300 ) )

calculateSizes(400,300) Array ( [0] => Array ( [scaled] => 1 [iw] => 320 [ih] => 240 [max_w] => 400 [max_h] => 300 ) [1] => Array ( [scaled] => 0 [iw] => 400 [ih] => 300 [min_w] => 400 [min_h] => 300 ) )

calculateSizes(1000,800) Array ( [0] => Array ( [scaled] => 1 [iw] => 320 [ih] => 256 [max_w] => 480 [max_h] => 384 ) [1] => Array ( [scaled] => 1 [iw] => 480 [ih] => 384 [min_w] => 480 [min_h] => 384 [max_w] => 640 [max_h] => 512 ) [2] => Array ( [scaled] => 1 [iw] => 640 [ih] => 512 [min_w] => 640 [min_h] => 512 [max_w] => 800 [max_h] => 640 ) [3] => Array ( [scaled] => 1 [iw] => 800 [ih] => 640 [min_w] => 800 [min_h] => 640 [max_w] => 1000 [max_h] => 800 ) [4] => Array ( [scaled] => 0 [iw] => 1000 [ih] => 800 [min_w] => 1000 [min_h] => 800 ) )

calculateSizes(2000,1900) Array ( [0] => Array ( [scaled] => 1 [iw] => 320 [ih] => 304 [max_w] => 480 [max_h] => 456 ) [1] => Array ( [scaled] => 1 [iw] => 480 [ih] => 456 [min_w] => 480 [min_h] => 456 [max_w] => 640 [max_h] => 608 ) [2] => Array ( [scaled] => 1 [iw] => 640 [ih] => 608 [min_w] => 640 [min_h] => 608 [max_w] => 800 [max_h] => 760 ) [3] => Array ( [scaled] => 1 [iw] => 800 [ih] => 760 [min_w] => 800 [min_h] => 760 [max_w] => 1024 [max_h] => 973 ) [4] => Array ( [scaled] => 1 [iw] => 1024 [ih] => 973 [min_w] => 1024 [min_h] => 973 [max_w] => 1200 [max_h] => 1140 ) [5] => Array ( [scaled] => 1 [iw] => 1200 [ih] => 1140 [min_w] => 1200 [min_h] => 1140 [max_w] => 1400 [max_h] => 1330 ) [6] => Array ( [scaled] => 1 [iw] => 1400 [ih] => 1330 [min_w] => 1400 [min_h] => 1330 [max_w] => 1800 [max_h] => 1710 ) [7] => Array ( [scaled] => 1 [iw] => 1800 [ih] => 1710 [min_w] => 1800 [min_h] => 1710 [max_w] => 2000 [max_h] => 1900 ) [8] => Array ( [scaled] => 0 [iw] => 2000 [ih] => 1900 [min_w] => 2000 [min_h] => 1900 ) )

calculateSizes(1900,2000) Array ( [0] => Array ( [scaled] => 1 [iw] => 304 [ih] => 320 [max_w] => 456 [max_h] => 480 ) [1] => Array ( [scaled] => 1 [iw] => 456 [ih] => 480 [min_w] => 456 [min_h] => 480 [max_w] => 608 [max_h] => 640 ) [2] => Array ( [scaled] => 1 [iw] => 608 [ih] => 640 [min_w] => 608 [min_h] => 640 [max_w] => 760 [max_h] => 800 ) [3] => Array ( [scaled] => 1 [iw] => 760 [ih] => 800 [min_w] => 760 [min_h] => 800 [max_w] => 973 [max_h] => 1024 ) [4] => Array ( [scaled] => 1 [iw] => 973 [ih] => 1024 [min_w] => 973 [min_h] => 1024 [max_w] => 1140 [max_h] => 1200 ) [5] => Array ( [scaled] => 1 [iw] => 1140 [ih] => 1200 [min_w] => 1140 [min_h] => 1200 [max_w] => 1330 [max_h] => 1400 ) [6] => Array ( [scaled] => 1 [iw] => 1330 [ih] => 1400 [min_w] => 1330 [min_h] => 1400 [max_w] => 1710 [max_h] => 1800 ) [7] => Array ( [scaled] => 1 [iw] => 1710 [ih] => 1800 [min_w] => 1710 [min_h] => 1800 [max_w] => 1900 [max_h] => 2000 ) [8] => Array ( [scaled] => 0 [iw] => 1900 [ih] => 2000 [min_w] => 1900 [min_h] => 2000 ) )

getDirectoryInfoByPathRecursive('/Leuven', 1): Array ( [0] => 629 [iID] => 629 [1] => [iFotoXSLTID] => [2] => [iContentsXSLTID] => [3] => [sContentsTitle] => [4] => [sHomeLink] => [5] => 1 [iParentID] => 1 [6] => Leuven [sName] => Leuven [7] => [bGenerate] => [8] => 0 [bAdded] => 0 [9] => 1222031364 [creationts] => 1222031364 [10] => [bDeleted] => [11] => 1 [bReady] => 1 )

getDirectoryInfoByPathRecursive('/Leuven/zonsondergang', 1): Array ( [0] => 774 [iID] => 774 [1] => 23 [iFotoXSLTID] => 23 [2] => 24 [iContentsXSLTID] => 24 [3] => Zonsondergang gezien vanop ons balkon [sContentsTitle] => Zonsondergang gezien vanop ons balkon [4] => http://carolien.eu/Leuven/leuven07.htm [sHomeLink] => http://carolien.eu/Leuven/leuven07.htm [5] => 629 [iParentID] => 629 [6] => zonsondergang [sName] => zonsondergang [7] => 0 [bGenerate] => 0 [8] => 0 [bAdded] => 0 [9] => 1176230006 [creationts] => 1176230006 [10] => [bDeleted] => [11] => 1 [bReady] => 1 )

getDirectoryInfoByPath('/Leuven/zonsondergang'): Array ( [0] => 774 [iID] => 774 [1] => 23 [iFotoXSLTID] => 23 [2] => 24 [iContentsXSLTID] => 24 [3] => Zonsondergang gezien vanop ons balkon [sContentsTitle] => Zonsondergang gezien vanop ons balkon [4] => http://carolien.eu/Leuven/leuven07.htm [sHomeLink] => http://carolien.eu/Leuven/leuven07.htm [5] => 629 [iParentID] => 629 [6] => zonsondergang [sName] => zonsondergang [7] => 0 [bGenerate] => 0 [8] => 0 [bAdded] => 0 [9] => 1176230006 [creationts] => 1176230006 [10] => [bDeleted] => [11] => 1 [bReady] => 1 )

getFotoBySeqInDir(..): Array ( [0] => IMG_7684.JPG [sName] => IMG_7684.JPG [1] => 28 maart 2007 [sDescription] => 28 maart 2007 [2] => 774 [iDirID] => 774 [3] => 3 [iSeqNbr] => 3 [4] => 0 [iHits] => 0 [5] => 21668 [iID] => 21668 [6] => 1 [bShow] => 1 [7] => 1 [gpsok] => 1 [8] => 35 [geocoderid] => 35 [9] => 2007-03-28 19:47:18 [exifCreateDate] => 2007-03-28 19:47:18 [10] => 2007-03-28 19:47:18 [exifDateTime] => 2007-03-28 19:47:18 [11] => 2007-03-28 19:47:18 [tiffDateTime] => 2007-03-28 19:47:18 [12] => 0 [exifLatitude] => 0 [13] => 0 [exifLongitude] => 0 [14] => [exifHeaderAvailable] => [15] => 900 [iWidth] => 900 [16] => 675 [iHeight] => 675 )

checkAndUpdateFileSize($fotoLine, $path); Array ( [0] => IMG_7684.JPG [sName] => IMG_7684.JPG [1] => 28 maart 2007 [sDescription] => 28 maart 2007 [2] => 774 [iDirID] => 774 [3] => 3 [iSeqNbr] => 3 [4] => 0 [iHits] => 0 [5] => 21668 [iID] => 21668 [6] => 1 [bShow] => 1 [7] => 1 [gpsok] => 1 [8] => 35 [geocoderid] => 35 [9] => 2007-03-28 19:47:18 [exifCreateDate] => 2007-03-28 19:47:18 [10] => 2007-03-28 19:47:18 [exifDateTime] => 2007-03-28 19:47:18 [11] => 2007-03-28 19:47:18 [tiffDateTime] => 2007-03-28 19:47:18 [12] => 0 [exifLatitude] => 0 [13] => 0 [exifLongitude] => 0 [14] => [exifHeaderAvailable] => [15] => 900 [iWidth] => 900 [16] => 675 [iHeight] => 675 )

getDirectoryInfoByPath('/Kindervreugd/Willem'): Array ( [0] => 1717 [iID] => 1717 [1] => 23 [iFotoXSLTID] => 23 [2] => 24 [iContentsXSLTID] => 24 [3] => Willem, zoon van Erwin en Kelly [sContentsTitle] => Willem, zoon van Erwin en Kelly [4] => http://carolien.eu/Kindervreugd/kindervreugd27.htm [sHomeLink] => http://carolien.eu/Kindervreugd/kindervreugd27.htm [5] => 628 [iParentID] => 628 [6] => Willem [sName] => Willem [7] => 0 [bGenerate] => 0 [8] => 0 [bAdded] => 0 [9] => 1376597561 [creationts] => 1376597561 [10] => [bDeleted] => [11] => 1 [bReady] => 1 )