{'ObjectID' : '2227', 'ObjectCode' : 'N-2286-00', 'ObjectNumber' : 'NG2286', 'ObjectDateBegin' : '1889-01-01', 'ObjectDateEnd' : '1889-12-31', 'ObjectDisplayDate' : '1889', 'ObjectDimensions' : '111.8 x 87 cm', 'ObjectMedium' : 'Oil on canvas', 'ObjectAlphaSort' : 'Horsley, John Callcott', 'ObjectAuthor' : 'John Callcott Horsley, 1817-1903', 'ObjectTitle' : 'Portrait of Martin Colnaghi', 'ObjectShortTitle' : 'Portrait of Martin Colnaghi', 'ObjectCreditLine' : 'Presented by Mrs Martin H. Colnaghi, 1908', 'ObjectString' : 'NG2286: John Callcott Horsley, 1817-1903, Portrait of Martin Colnaghi, 1889, Oil on canvas, (111.8 x 87 cm), Presented by Mrs Martin H. Colnaghi, 1908.', 'ObjectLocation' : 'Not on display', 'ObjectPrivateLocation' : 'Conservation - Lower Studio Loose', 'ObjectPublicLocation' : 'Not on display', 'ObjectSchool' : 'British', 'ObjectCurator' : 'Susan Foister', 'ObjectDescription' : '', 'ObjectStatusID' : '1', 'PublicAccess' : '1', 'GroupNumber' : '', 'GroupTitle' : '', 'GroupArtist' : '', 'GroupDate' : '', 'GroupParts' : '', 'ImageID' : '2163', 'ImageFile' : 'N-2286-00-000009-WZ-PYR.tif', 'ImageCode' : 'N-2286-00-000009-WZ', 'ImagePath' : '/pics/tmp/websiteimages/Website_Collection_Online/Web Zoom Images/WZ web NG Fronts/', 'ImageLevels' : '6', 'ImageXsize' : '4625', 'ImageYsize' : '6000', 'FileGroup_ID' : '14', 'impos' : '1162'} /* Array ( [0] =>
Array
(
    [what] => details
    [val] => 2163
    [crop] => false
    [sqllimit] =>  AND FileGroup_id in (14) 
    [whichdb] => externalIIP
    [whichtable] => Image
    [sortby] => ObjectAlphaSort
)
[1] =>

SELECT * FROM Object, Image WHERE Object.ObjectID = Image.ObjectID AND ImageID = '2163'

[2] =>
SELECT * FROM Object, Image WHERE Object.ObjectID = Image.ObjectID AND FileGroup_id in (14) ORDER BY Object.ObjectAlphaSort
[3] =>
1162 --> 2163 N-2286-00 John Callcott Horsley, 1817-1903
[4] =>
Array
(
    [ObjectID] => 2227
    [ObjectCode] => N-2286-00
    [ObjectNumber] => NG2286
    [ObjectDateBegin] => 1889-01-01
    [ObjectDateEnd] => 1889-12-31
    [ObjectDisplayDate] => 1889
    [ObjectDimensions] => 111.8 x 87 cm
    [ObjectMedium] => Oil on canvas
    [ObjectAlphaSort] => Horsley, John Callcott
    [ObjectAuthor] => John Callcott Horsley, 1817-1903
    [ObjectTitle] => Portrait of Martin Colnaghi
    [ObjectShortTitle] => Portrait of Martin Colnaghi
    [ObjectCreditLine] => Presented by Mrs Martin H. Colnaghi, 1908
    [ObjectString] => NG2286: John Callcott Horsley, 1817-1903, Portrait of Martin Colnaghi, 1889, Oil on canvas, (111.8 x 87 cm), Presented by Mrs Martin H. Colnaghi, 1908.
    [ObjectLocation] => Not on display
    [ObjectPrivateLocation] => Conservation - Lower Studio Loose
    [ObjectPublicLocation] => Not on display
    [ObjectSchool] => British
    [ObjectCurator] => Susan Foister
    [ObjectDescription] => 
    [ObjectStatusID] => 1
    [PublicAccess] => 1
    [GroupNumber] => 
    [GroupTitle] => 
    [GroupArtist] => 
    [GroupDate] => 
    [GroupParts] => 
    [ImageID] => 2163
    [ImageFile] => N-2286-00-000009-WZ-PYR.tif
    [ImageCode] => N-2286-00-000009-WZ
    [ImagePath] => /pics/tmp/websiteimages/Website_Collection_Online/Web Zoom Images/WZ web NG Fronts/
    [ImageLevels] => 6
    [ImageXsize] => 4625
    [ImageYsize] => 6000
    [FileGroup_ID] => 14
    [impos] => 1162
)
) */