{'ObjectID' : '2027', 'ObjectCode' : 'L-1070-00', 'ObjectNumber' : 'L1070', 'ObjectDateBegin' : '1823-01-01', 'ObjectDateEnd' : '1827-12-31', 'ObjectDisplayDate' : 'about 1825', 'ObjectDimensions' : '16.7 x 27.9 cm', 'ObjectMedium' : 'Oil on fibre board', 'ObjectAlphaSort' : 'Bonington, Richard Parkes', 'ObjectAuthor' : 'Richard Parkes Bonington, 1802 - 1828', 'ObjectTitle' : 'La Ferté', 'ObjectShortTitle' : 'La Ferté', 'ObjectCreditLine' : 'Accepted by HM Government in lieu of Inheritance Tax and allocated to the National Gallery pending a decision on permanent allocation, 2007.', 'ObjectString' : 'L1070: Richard Parkes Bonington, 1802 - 1828, La Ferté, about 1825, Oil on fibre board, (16.7 x 27.9 cm), Accepted by HM Government in lieu of Inheritance Tax and allocated to the National Gallery pending a decision on permanent allocation, 2007..', 'ObjectLocation' : 'Room 41', 'ObjectPrivateLocation' : 'Gallery 41', 'ObjectPublicLocation' : 'Room 41', 'ObjectSchool' : 'British', 'ObjectCurator' : 'Susan Foister', 'ObjectDescription' : '', 'ObjectStatusID' : '4', 'PublicAccess' : '1', 'GroupNumber' : '', 'GroupTitle' : '', 'GroupArtist' : '', 'GroupDate' : '', 'GroupParts' : '', 'ImageID' : '1957', 'ImageFile' : 'L-1070-00-000014-WZ-PYR.tif', 'ImageCode' : 'L-1070-00-000014-WZ', 'ImagePath' : '/pics/tmp/websiteimages/Website_Collection_Online/Web Zoom Images/WZ Long Loans/', 'ImageLevels' : '6', 'ImageXsize' : '6000', 'ImageYsize' : '3457', 'FileGroup_ID' : '14', 'impos' : '166'} /* Array ( [0] =>
Array
(
    [what] => details
    [val] => 1957
    [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 = '1957'

[2] =>
SELECT * FROM Object, Image WHERE Object.ObjectID = Image.ObjectID AND FileGroup_id in (14) ORDER BY Object.ObjectAlphaSort
[3] =>
166 --> 1957 L-1070-00 Richard Parkes Bonington, 1802 - 1828
[4] =>
Array
(
    [ObjectID] => 2027
    [ObjectCode] => L-1070-00
    [ObjectNumber] => L1070
    [ObjectDateBegin] => 1823-01-01
    [ObjectDateEnd] => 1827-12-31
    [ObjectDisplayDate] => about 1825
    [ObjectDimensions] => 16.7 x 27.9 cm
    [ObjectMedium] => Oil on fibre board
    [ObjectAlphaSort] => Bonington, Richard Parkes
    [ObjectAuthor] => Richard Parkes Bonington, 1802 - 1828
    [ObjectTitle] => La Ferté
    [ObjectShortTitle] => La Ferté
    [ObjectCreditLine] => Accepted by HM Government in lieu of Inheritance Tax and allocated to the National Gallery pending a decision on permanent allocation, 2007.
    [ObjectString] => L1070: Richard Parkes Bonington, 1802 - 1828, La Ferté, about 1825, Oil on fibre board, (16.7 x 27.9 cm), Accepted by HM Government in lieu of Inheritance Tax and allocated to the National Gallery pending a decision on permanent allocation, 2007..
    [ObjectLocation] => Room 41
    [ObjectPrivateLocation] => Gallery 41
    [ObjectPublicLocation] => Room 41
    [ObjectSchool] => British
    [ObjectCurator] => Susan Foister
    [ObjectDescription] => 
    [ObjectStatusID] => 4
    [PublicAccess] => 1
    [GroupNumber] => 
    [GroupTitle] => 
    [GroupArtist] => 
    [GroupDate] => 
    [GroupParts] => 
    [ImageID] => 1957
    [ImageFile] => L-1070-00-000014-WZ-PYR.tif
    [ImageCode] => L-1070-00-000014-WZ
    [ImagePath] => /pics/tmp/websiteimages/Website_Collection_Online/Web Zoom Images/WZ Long Loans/
    [ImageLevels] => 6
    [ImageXsize] => 6000
    [ImageYsize] => 3457
    [FileGroup_ID] => 14
    [impos] => 166
)
) */