• Neil

    (@encrypt1on)


    Hi All,

    I cannot see media items in the grid view. List seems to work fine.

    I am working locally MAMP v3.4 on a iMac latest spec non-retina using Codekit with sublime text editor program.

    PHP log:

    [26-Oct-2015 17:13:56 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media-template.php on line 700
    [26-Oct-2015 17:13:56 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media-template.php on line 775
    [26-Oct-2015 17:13:56 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media-template.php on line 949
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798
    [26-Oct-2015 17:13:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php on line 2798

    I can confirm I am using ACF (Advanced Custom Fields). But only found this issue when I tried uploading .pdf’s and the ajax call appeared not to work…

    This was the response:

    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/Users/nml/Dropbox/SITE/9_SITE_DIRECTORY/wp-includes/media.php</b> on line <b>2798</b>
    {"success":true,"data":[{"id":367,"title":"shots_small","filename":"shots_small.jpg","url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/shots_small.jpg","link":"http:\/\/nml-imac.local:5757\/our-story\/shots_small\/","alt":"","author":"4","description":"","caption":"","name":"shots_small","status":"inherit","uploadedTo":43,"date":1445639698000,"modified":1445639698000,"menuOrder":0,"mime":"image\/jpeg","type":"image","subtype":"jpeg","icon":"http:\/\/nml-imac.local:5757\/wp-includes\/images\/media\/default.png","dateFormatted":"23rd October 2015","nonces":{"update":"5cce8961f5","delete":"c7e225dbfa","edit":"8bd2ee586b"},"editLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=367&action=edit","meta":false,"authorName":"Andy Birnie","uploadedToLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=43&action=edit","uploadedToTitle":"Our story","filesizeInBytes":79730,"filesizeHumanReadable":"78 kB","sizes":{"full":{"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/shots_small.jpg","height":320,"width":767,"orientation":"landscape"},"thumbnail":{"height":150,"width":150,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/shots_small-150x150.jpg","orientation":"landscape"},"medium":{"height":125,"width":300,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/shots_small-300x125.jpg","orientation":"landscape"},"post-thumbnail":{"height":125,"width":125,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/shots_small-125x125.jpg","orientation":"landscape"}},"height":320,"width":767,"orientation":"landscape","compat":{"item":"<input type=\"hidden\" name=\"attachments[367][menu_order]\" value=\"0\" \/><table class=\"compat-attachment-fields\">\t\t<tr class='compat-field-media_category'>\t\t\t<th scope='row' class='label'><label for='attachments-367-media_category'><span class='alignleft'>Media Categories<\/span><br class='clear' \/><\/label><\/th>\n\t\t\t<td class='field'><ul class=\"term-list\">
    <li>No Media Categories found.<\/li><\/ul><\/td>\n\t\t<\/tr>\n<\/table>","meta":""},"filesize":"78 kB","acf_errors":false},{"id":366,"title":"shots_large","filename":"shots_large.jpg","url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/shots_large.jpg","link":"http:\/\/nml-imac.local:5757\/our-story\/shots_large\/","alt":"","author":"4","description":"","caption":"","name":"shots_large","status":"inherit","uploadedTo":43,"date":1445639697000,"modified":1445639697000,"menuOrder":0,"mime":"image\/jpeg","type":"image","subtype":"jpeg","icon":"http:\/\/nml-imac.local:5757\/wp-includes\/images\/media\/default.png","dateFormatted":"23rd October 2015","nonces":{"update":"fbc067d074","delete":"d0653176d6","edit":"7ddd7c20a4"},"editLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=366&action=edit","meta":false,"authorName":"Andy Birnie","uploadedToLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=43&action=edit","uploadedToTitle":"Our story","filesizeInBytes":128207,"filesizeHumanReadable":"125 kB","sizes":{"full":{"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/shots_large.jpg","height":540,"width":860,"orientation":"landscape"},"thumbnail":{"height":150,"width":150,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/shots_large-150x150.jpg","orientation":"landscape"},"medium":{"height":188,"width":300,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/shots_large-300x188.jpg","orientation":"landscape"},"post-thumbnail":{"height":125,"width":125,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/shots_large-125x125.jpg","orientation":"landscape"}},"height":540,"width":860,"orientation":"landscape","compat":{"item":"<input type=\"hidden\" name=\"attachments[366][menu_order]\" value=\"0\" \/><table class=\"compat-attachment-fields\">\t\t<tr class='compat-field-media_category'>\t\t\t<th scope='row' class='label'><label for='attachments-366-media_category'><span class='alignleft'>Media Categories<\/span><br class='clear' \/><\/label><\/th>\n\t\t\t<td class='field'><ul class=\"term-list\"></li>
    <li>No Media Categories found.<\/li><\/ul><\/td>\n\t\t<\/tr>\n<\/table>","meta":""},"filesize":"125 kB","acf_errors":false},{"id":365,"title":"mojito_small","filename":"mojito_small.jpg","url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/mojito_small.jpg","link":"http:\/\/nml-imac.local:5757\/our-story\/mojito_small\/","alt":"","author":"4","description":"","caption":"","name":"mojito_small","status":"inherit","uploadedTo":43,"date":1445639697000,"modified":1445639697000,"menuOrder":0,"mime":"image\/jpeg","type":"image","subtype":"jpeg","icon":"http:\/\/nml-imac.local:5757\/wp-includes\/images\/media\/default.png","dateFormatted":"23rd October 2015","nonces":{"update":"f2511b88c8","delete":"3f12670120","edit":"dd47334562"},"editLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=365&action=edit","meta":false,"authorName":"Andy Birnie","uploadedToLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=43&action=edit","uploadedToTitle":"Our story","filesizeInBytes":94511,"filesizeHumanReadable":"92 kB","sizes":{"full":{"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/mojito_small.jpg","height":320,"width":767,"orientation":"landscape"},"thumbnail":{"height":150,"width":150,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/mojito_small-150x150.jpg","orientation":"landscape"},"medium":{"height":125,"width":300,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/mojito_small-300x125.jpg","orientation":"landscape"},"post-thumbnail":{"height":125,"width":125,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/mojito_small-125x125.jpg","orientation":"landscape"}},"height":320,"width":767,"orientation":"landscape","compat":{"item":"<input type=\"hidden\" name=\"attachments[365][menu_order]\" value=\"0\" \/><table class=\"compat-attachment-fields\">\t\t<tr class='compat-field-media_category'>\t\t\t<th scope='row' class='label'><label for='attachments-365-media_category'><span class='alignleft'>Media Categories<\/span><br class='clear' \/><\/label><\/th>\n\t\t\t<td class='field'><ul class=\"term-list\"></li>
    <li>No Media Categories found.<\/li><\/ul><\/td>\n\t\t<\/tr>\n<\/table>","meta":""},"filesize":"92 kB","acf_errors":false},{"id":364,"title":"mojito_large","filename":"mojito_large.jpg","url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/mojito_large.jpg","link":"http:\/\/nml-imac.local:5757\/our-story\/mojito_large\/","alt":"","author":"4","description":"","caption":"","name":"mojito_large","status":"inherit","uploadedTo":43,"date":1445639696000,"modified":1445639696000,"menuOrder":0,"mime":"image\/jpeg","type":"image","subtype":"jpeg","icon":"http:\/\/nml-imac.local:5757\/wp-includes\/images\/media\/default.png","dateFormatted":"23rd October 2015","nonces":{"update":"f41ae2373e","delete":"ad8b2af34e","edit":"94b95cbf17"},"editLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=364&action=edit","meta":false,"authorName":"Andy Birnie","uploadedToLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=43&action=edit","uploadedToTitle":"Our story","filesizeInBytes":199405,"filesizeHumanReadable":"195 kB","sizes":{"full":{"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/mojito_large.jpg","height":540,"width":860,"orientation":"landscape"},"thumbnail":{"height":150,"width":150,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/mojito_large-150x150.jpg","orientation":"landscape"},"medium":{"height":188,"width":300,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/mojito_large-300x188.jpg","orientation":"landscape"},"post-thumbnail":{"height":125,"width":125,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/mojito_large-125x125.jpg","orientation":"landscape"}},"height":540,"width":860,"orientation":"landscape","compat":{"item":"<input type=\"hidden\" name=\"attachments[364][menu_order]\" value=\"0\" \/><table class=\"compat-attachment-fields\">\t\t<tr class='compat-field-media_category'>\t\t\t<th scope='row' class='label'><label for='attachments-364-media_category'><span class='alignleft'>Media Categories<\/span><br class='clear' \/><\/label><\/th>\n\t\t\t<td class='field'><ul class=\"term-list\"></li>
    <li>No Media Categories found.<\/li><\/ul><\/td>\n\t\t<\/tr>\n<\/table>","meta":""},"filesize":"195 kB","acf_errors":false},{"id":363,"title":"coffee_small","filename":"coffee_small.jpg","url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/coffee_small.jpg","link":"http:\/\/nml-imac.local:5757\/our-story\/coffee_small\/","alt":"","author":"4","description":"","caption":"","name":"coffee_small","status":"inherit","uploadedTo":43,"date":1445639695000,"modified":1445639695000,"menuOrder":0,"mime":"image\/jpeg","type":"image","subtype":"jpeg","icon":"http:\/\/nml-imac.local:5757\/wp-includes\/images\/media\/default.png","dateFormatted":"23rd October 2015","nonces":{"update":"1d74770bb1","delete":"6d0253a726","edit":"24a4e0bfaf"},"editLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=363&action=edit","meta":false,"authorName":"Andy Birnie","uploadedToLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=43&action=edit","uploadedToTitle":"Our story","filesizeInBytes":68298,"filesizeHumanReadable":"67 kB","sizes":{"full":{"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/coffee_small.jpg","height":320,"width":767,"orientation":"landscape"},"thumbnail":{"height":150,"width":150,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/coffee_small-150x150.jpg","orientation":"landscape"},"medium":{"height":125,"width":300,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/coffee_small-300x125.jpg","orientation":"landscape"},"post-thumbnail":{"height":125,"width":125,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/coffee_small-125x125.jpg","orientation":"landscape"}},"height":320,"width":767,"orientation":"landscape","compat":{"item":"<input type=\"hidden\" name=\"attachments[363][menu_order]\" value=\"0\" \/><table class=\"compat-attachment-fields\">\t\t<tr class='compat-field-media_category'>\t\t\t<th scope='row' class='label'><label for='attachments-363-media_category'><span class='alignleft'>Media Categories<\/span><br class='clear' \/><\/label><\/th>\n\t\t\t<td class='field'><ul class=\"term-list\"></li>
    <li>No Media Categories found.<\/li><\/ul><\/td>\n\t\t<\/tr>\n<\/table>","meta":""},"filesize":"67 kB","acf_errors":false},{"id":362,"title":"coffee_large","filename":"coffee_large.jpg","url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/coffee_large.jpg","link":"http:\/\/nml-imac.local:5757\/our-story\/coffee_large\/","alt":"","author":"4","description":"","caption":"","name":"coffee_large","status":"inherit","uploadedTo":43,"date":1445639694000,"modified":1445639694000,"menuOrder":0,"mime":"image\/jpeg","type":"image","subtype":"jpeg","icon":"http:\/\/nml-imac.local:5757\/wp-includes\/images\/media\/default.png","dateFormatted":"23rd October 2015","nonces":{"update":"1004e8a13f","delete":"6e59335d5f","edit":"efd05335b5"},"editLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=362&action=edit","meta":false,"authorName":"Andy Birnie","uploadedToLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=43&action=edit","uploadedToTitle":"Our story","filesizeInBytes":129560,"filesizeHumanReadable":"127 kB","sizes":{"full":{"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/coffee_large.jpg","height":540,"width":860,"orientation":"landscape"},"thumbnail":{"height":150,"width":150,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/coffee_large-150x150.jpg","orientation":"landscape"},"medium":{"height":188,"width":300,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/coffee_large-300x188.jpg","orientation":"landscape"},"post-thumbnail":{"height":125,"width":125,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/coffee_large-125x125.jpg","orientation":"landscape"}},"height":540,"width":860,"orientation":"landscape","compat":{"item":"<input type=\"hidden\" name=\"attachments[362][menu_order]\" value=\"0\" \/><table class=\"compat-attachment-fields\">\t\t<tr class='compat-field-media_category'>\t\t\t<th scope='row' class='label'><label for='attachments-362-media_category'><span class='alignleft'>Media Categories<\/span><br class='clear' \/><\/label><\/th>\n\t\t\t<td class='field'><ul class=\"term-list\"></li>
    <li>No Media Categories found.<\/li><\/ul><\/td>\n\t\t<\/tr>\n<\/table>","meta":""},"filesize":"127 kB","acf_errors":false},{"id":359,"title":"pubtap_large","filename":"pubtap_large.jpg","url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/pubtap_large.jpg","link":"http:\/\/nml-imac.local:5757\/our-story\/pubtap_large\/","alt":"","author":"1","description":"","caption":"","name":"pubtap_large","status":"inherit","uploadedTo":43,"date":1445639405000,"modified":1445639405000,"menuOrder":0,"mime":"image\/jpeg","type":"image","subtype":"jpeg","icon":"http:\/\/nml-imac.local:5757\/wp-includes\/images\/media\/default.png","dateFormatted":"23rd October 2015","nonces":{"update":"ebfa53436a","delete":"c62a40bae0","edit":"27199d0a06"},"editLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=359&action=edit","meta":false,"authorName":"Neil","uploadedToLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=43&action=edit","uploadedToTitle":"Our story","filesizeInBytes":137559,"filesizeHumanReadable":"134 kB","sizes":{"full":{"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/pubtap_large.jpg","height":540,"width":860,"orientation":"landscape"},"thumbnail":{"height":150,"width":150,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/pubtap_large-150x150.jpg","orientation":"landscape"},"medium":{"height":188,"width":300,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/pubtap_large-300x188.jpg","orientation":"landscape"},"post-thumbnail":{"height":125,"width":125,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/pubtap_large-125x125.jpg","orientation":"landscape"}},"height":540,"width":860,"orientation":"landscape","compat":{"item":"<input type=\"hidden\" name=\"attachments[359][menu_order]\" value=\"0\" \/><table class=\"compat-attachment-fields\">\t\t<tr class='compat-field-media_category'>\t\t\t<th scope='row' class='label'><label for='attachments-359-media_category'><span class='alignleft'>Media Categories<\/span><br class='clear' \/><\/label><\/th>\n\t\t\t<td class='field'><ul class=\"term-list\"></li>
    <li>No Media Categories found.<\/li><\/ul><\/td>\n\t\t<\/tr>\n<\/table>","meta":""},"filesize":"134 kB","acf_errors":false},{"id":355,"title":"pubtap_small","filename":"pubtap_small.jpg","url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/pubtap_small.jpg","link":"http:\/\/nml-imac.local:5757\/our-story\/pubtap_small\/","alt":"","author":"4","description":"","caption":"","name":"pubtap_small","status":"inherit","uploadedTo":43,"date":1445639008000,"modified":1445639008000,"menuOrder":0,"mime":"image\/jpeg","type":"image","subtype":"jpeg","icon":"http:\/\/nml-imac.local:5757\/wp-includes\/images\/media\/default.png","dateFormatted":"23rd October 2015","nonces":{"update":"66eb1960f4","delete":"b0493e941f","edit":"61a747097b"},"editLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=355&action=edit","meta":false,"authorName":"Andy Birnie","uploadedToLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=43&action=edit","uploadedToTitle":"Our story","filesizeInBytes":66996,"filesizeHumanReadable":"65 kB","sizes":{"full":{"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/pubtap_small.jpg","height":320,"width":767,"orientation":"landscape"},"thumbnail":{"height":150,"width":150,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/pubtap_small-150x150.jpg","orientation":"landscape"},"medium":{"height":125,"width":300,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/pubtap_small-300x125.jpg","orientation":"landscape"},"post-thumbnail":{"height":125,"width":125,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/pubtap_small-125x125.jpg","orientation":"landscape"}},"height":320,"width":767,"orientation":"landscape","compat":{"item":"<input type=\"hidden\" name=\"attachments[355][menu_order]\" value=\"0\" \/><table class=\"compat-attachment-fields\">\t\t<tr class='compat-field-media_category'>\t\t\t<th scope='row' class='label'><label for='attachments-355-media_category'><span class='alignleft'>Media Categories<\/span><br class='clear' \/><\/label><\/th>\n\t\t\t<td class='field'><ul class=\"term-list\"></li>
    <li>No Media Categories found.<\/li><\/ul><\/td>\n\t\t<\/tr>\n<\/table>","meta":""},"filesize":"65 kB","acf_errors":false},{"id":308,"title":"EPIC BEER Small","filename":"EPIC-BEER-Small.jpg","url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-BEER-Small.jpg","link":"http:\/\/nml-imac.local:5757\/our-story\/epic-beer-small\/","alt":"","author":"3","description":"","caption":"","name":"epic-beer-small","status":"inherit","uploadedTo":43,"date":1445617958000,"modified":1445619132000,"menuOrder":0,"mime":"image\/jpeg","type":"image","subtype":"jpeg","icon":"http:\/\/nml-imac.local:5757\/wp-includes\/images\/media\/default.png","dateFormatted":"23rd October 2015","nonces":{"update":"1308d1181f","delete":"db414f1f4e","edit":"ff4894cee8"},"editLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=308&action=edit","meta":false,"authorName":"Del","uploadedToLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=43&action=edit","uploadedToTitle":"Our story","filesizeInBytes":79456,"filesizeHumanReadable":"78 kB","sizes":{"full":{"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-BEER-Small.jpg","height":200,"width":480,"orientation":"landscape"},"thumbnail":{"height":150,"width":150,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-BEER-Small-150x150.jpg","orientation":"landscape"},"medium":{"height":125,"width":300,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-BEER-Small-300x125.jpg","orientation":"landscape"},"post-thumbnail":{"height":125,"width":125,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-BEER-Small-125x125.jpg","orientation":"landscape"}},"height":200,"width":480,"orientation":"landscape","compat":{"item":"<input type=\"hidden\" name=\"attachments[308][menu_order]\" value=\"0\" \/><table class=\"compat-attachment-fields\">\t\t<tr class='compat-field-media_category'>\t\t\t<th scope='row' class='label'><label for='attachments-308-media_category'><span class='alignleft'>Media Categories<\/span><br class='clear' \/><\/label><\/th>\n\t\t\t<td class='field'><ul class=\"term-list\"></li>
    <li>No Media Categories found.<\/li><\/ul><\/td>\n\t\t<\/tr>\n<\/table>","meta":""},"filesize":"78 kB","acf_errors":false},{"id":307,"title":"EPIC BEER Large","filename":"EPIC-BEER-Large.jpg","url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-BEER-Large.jpg","link":"http:\/\/nml-imac.local:5757\/our-story\/epic-beer-large\/","alt":"","author":"3","description":"","caption":"","name":"epic-beer-large","status":"inherit","uploadedTo":43,"date":1445617957000,"modified":1445619140000,"menuOrder":0,"mime":"image\/jpeg","type":"image","subtype":"jpeg","icon":"http:\/\/nml-imac.local:5757\/wp-includes\/images\/media\/default.png","dateFormatted":"23rd October 2015","nonces":{"update":"0ae0e811f1","delete":"c4b2c7a8e0","edit":"379da55fe7"},"editLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=307&action=edit","meta":false,"authorName":"Del","uploadedToLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=43&action=edit","uploadedToTitle":"Our story","filesizeInBytes":266172,"filesizeHumanReadable":"260 kB","sizes":{"full":{"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-BEER-Large.jpg","height":526,"width":860,"orientation":"landscape"},"thumbnail":{"height":150,"width":150,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-BEER-Large-150x150.jpg","orientation":"landscape"},"medium":{"height":183,"width":300,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-BEER-Large-300x183.jpg","orientation":"landscape"},"post-thumbnail":{"height":125,"width":125,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-BEER-Large-125x125.jpg","orientation":"landscape"}},"height":526,"width":860,"orientation":"landscape","compat":{"item":"<input type=\"hidden\" name=\"attachments[307][menu_order]\" value=\"0\" \/><table class=\"compat-attachment-fields\">\t\t<tr class='compat-field-media_category'>\t\t\t<th scope='row' class='label'><label for='attachments-307-media_category'><span class='alignleft'>Media Categories<\/span><br class='clear' \/><\/label><\/th>\n\t\t\t<td class='field'><ul class=\"term-list\"></li>
    <li>No Media Categories found.<\/li><\/ul><\/td>\n\t\t<\/tr>\n<\/table>","meta":""},"filesize":"260 kB","acf_errors":false},{"id":258,"title":"EPIC TABLE Large","filename":"EPIC-TABLE-Large.jpg","url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-TABLE-Large.jpg","link":"http:\/\/nml-imac.local:5757\/private-dining\/epic-table-large\/","alt":"","author":"3","description":"","caption":"","name":"epic-table-large","status":"inherit","uploadedTo":29,"date":1445612060000,"modified":1445612060000,"menuOrder":0,"mime":"image\/jpeg","type":"image","subtype":"jpeg","icon":"http:\/\/nml-imac.local:5757\/wp-includes\/images\/media\/default.png","dateFormatted":"23rd October 2015","nonces":{"update":"e68053ed41","delete":"5b917e9ebf","edit":"63397e55b9"},"editLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=258&action=edit","meta":false,"authorName":"Del","uploadedToLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=29&action=edit","uploadedToTitle":"Private dining","filesizeInBytes":185307,"filesizeHumanReadable":"181 kB","sizes":{"full":{"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-TABLE-Large.jpg","height":526,"width":860,"orientation":"landscape"},"thumbnail":{"height":150,"width":150,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-TABLE-Large-150x150.jpg","orientation":"landscape"},"medium":{"height":183,"width":300,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-TABLE-Large-300x183.jpg","orientation":"landscape"},"post-thumbnail":{"height":125,"width":125,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-TABLE-Large-125x125.jpg","orientation":"landscape"}},"height":526,"width":860,"orientation":"landscape","compat":{"item":"<input type=\"hidden\" name=\"attachments[258][menu_order]\" value=\"0\" \/><table class=\"compat-attachment-fields\">\t\t<tr class='compat-field-media_category'>\t\t\t<th scope='row' class='label'><label for='attachments-258-media_category'><span class='alignleft'>Media Categories<\/span><br class='clear' \/><\/label><\/th>\n\t\t\t<td class='field'><ul class=\"term-list\"></li>
    <li>No Media Categories found.<\/li><\/ul><\/td>\n\t\t<\/tr>\n<\/table>","meta":""},"filesize":"181 kB","acf_errors":false},{"id":257,"title":"EPIC TABLE Small","filename":"EPIC-TABLE-Small.jpg","url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-TABLE-Small.jpg","link":"http:\/\/nml-imac.local:5757\/private-dining\/epic-table-small\/","alt":"","author":"3","description":"","caption":"","name":"epic-table-small","status":"inherit","uploadedTo":29,"date":1445612051000,"modified":1445612051000,"menuOrder":0,"mime":"image\/jpeg","type":"image","subtype":"jpeg","icon":"http:\/\/nml-imac.local:5757\/wp-includes\/images\/media\/default.png","dateFormatted":"23rd October 2015","nonces":{"update":"3de64e0962","delete":"8c5576e6b0","edit":"55231d2d15"},"editLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=257&action=edit","meta":false,"authorName":"Del","uploadedToLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=29&action=edit","uploadedToTitle":"Private dining","filesizeInBytes":57429,"filesizeHumanReadable":"56 kB","sizes":{"full":{"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-TABLE-Small.jpg","height":200,"width":480,"orientation":"landscape"},"thumbnail":{"height":150,"width":150,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-TABLE-Small-150x150.jpg","orientation":"landscape"},"medium":{"height":125,"width":300,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-TABLE-Small-300x125.jpg","orientation":"landscape"},"post-thumbnail":{"height":125,"width":125,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-TABLE-Small-125x125.jpg","orientation":"landscape"}},"height":200,"width":480,"orientation":"landscape","compat":{"item":"<input type=\"hidden\" name=\"attachments[257][menu_order]\" value=\"0\" \/><table class=\"compat-attachment-fields\">\t\t<tr class='compat-field-media_category'>\t\t\t<th scope='row' class='label'><label for='attachments-257-media_category'><span class='alignleft'>Media Categories<\/span><br class='clear' \/><\/label><\/th>\n\t\t\t<td class='field'><ul class=\"term-list\"></li>
    <li>No Media Categories found.<\/li><\/ul><\/td>\n\t\t<\/tr>\n<\/table>","meta":""},"filesize":"56 kB","acf_errors":false},{"id":217,"title":"EPIC FOOD2 Large","filename":"EPIC-FOOD2-Large.jpg","url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-FOOD2-Large.jpg","link":"http:\/\/nml-imac.local:5757\/home\/epic-food2-large\/","alt":"","author":"3","description":"","caption":"","name":"epic-food2-large","status":"inherit","uploadedTo":22,"date":1445606159000,"modified":1445606159000,"menuOrder":0,"mime":"image\/jpeg","type":"image","subtype":"jpeg","icon":"http:\/\/nml-imac.local:5757\/wp-includes\/images\/media\/default.png","dateFormatted":"23rd October 2015","nonces":{"update":"6f8959126c","delete":"599b8aaf4a","edit":"fbf2b6a9e0"},"editLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=217&action=edit","meta":false,"authorName":"Del","uploadedToLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=22&action=edit","uploadedToTitle":"Home","filesizeInBytes":335446,"filesizeHumanReadable":"328 kB","sizes":{"full":{"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-FOOD2-Large.jpg","height":526,"width":860,"orientation":"landscape"},"thumbnail":{"height":150,"width":150,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-FOOD2-Large-150x150.jpg","orientation":"landscape"},"medium":{"height":183,"width":300,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-FOOD2-Large-300x183.jpg","orientation":"landscape"},"post-thumbnail":{"height":125,"width":125,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-FOOD2-Large-125x125.jpg","orientation":"landscape"}},"height":526,"width":860,"orientation":"landscape","compat":{"item":"<input type=\"hidden\" name=\"attachments[217][menu_order]\" value=\"0\" \/><table class=\"compat-attachment-fields\">\t\t<tr class='compat-field-media_category'>\t\t\t<th scope='row' class='label'><label for='attachments-217-media_category'><span class='alignleft'>Media Categories<\/span><br class='clear' \/><\/label><\/th>\n\t\t\t<td class='field'><ul class=\"term-list\"></li>
    <li>No Media Categories found.<\/li><\/ul><\/td>\n\t\t<\/tr>\n<\/table>","meta":""},"filesize":"328 kB","acf_errors":false},{"id":216,"title":"EPIC FOOD2 Small","filename":"EPIC-FOOD2-Small.jpg","url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-FOOD2-Small.jpg","link":"http:\/\/nml-imac.local:5757\/home\/epic-food2-small\/","alt":"","author":"3","description":"","caption":"","name":"epic-food2-small","status":"inherit","uploadedTo":22,"date":1445606149000,"modified":1445606149000,"menuOrder":0,"mime":"image\/jpeg","type":"image","subtype":"jpeg","icon":"http:\/\/nml-imac.local:5757\/wp-includes\/images\/media\/default.png","dateFormatted":"23rd October 2015","nonces":{"update":"14f0dbeced","delete":"39f326b70b","edit":"b44b2df5ad"},"editLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=216&action=edit","meta":false,"authorName":"Del","uploadedToLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=22&action=edit","uploadedToTitle":"Home","filesizeInBytes":118000,"filesizeHumanReadable":"115 kB","sizes":{"full":{"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-FOOD2-Small.jpg","height":200,"width":480,"orientation":"landscape"},"thumbnail":{"height":150,"width":150,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-FOOD2-Small-150x150.jpg","orientation":"landscape"},"medium":{"height":125,"width":300,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-FOOD2-Small-300x125.jpg","orientation":"landscape"},"post-thumbnail":{"height":125,"width":125,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-FOOD2-Small-125x125.jpg","orientation":"landscape"}},"height":200,"width":480,"orientation":"landscape","compat":{"item":"<input type=\"hidden\" name=\"attachments[216][menu_order]\" value=\"0\" \/><table class=\"compat-attachment-fields\">\t\t<tr class='compat-field-media_category'>\t\t\t<th scope='row' class='label'><label for='attachments-216-media_category'><span class='alignleft'>Media Categories<\/span><br class='clear' \/><\/label><\/th>\n\t\t\t<td class='field'><ul class=\"term-list\"></li>
    <li>No Media Categories found.<\/li><\/ul><\/td>\n\t\t<\/tr>\n<\/table>","meta":""},"filesize":"115 kB","acf_errors":false},{"id":214,"title":"EPIC FOOD1 Large","filename":"EPIC-FOOD1-Large.jpg","url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-FOOD1-Large.jpg","link":"http:\/\/nml-imac.local:5757\/food-and-drink\/epic-food1-large\/","alt":"","author":"3","description":"","caption":"","name":"epic-food1-large","status":"inherit","uploadedTo":27,"date":1445605975000,"modified":1445605975000,"menuOrder":0,"mime":"image\/jpeg","type":"image","subtype":"jpeg","icon":"http:\/\/nml-imac.local:5757\/wp-includes\/images\/media\/default.png","dateFormatted":"23rd October 2015","nonces":{"update":"36566394e4","delete":"27e8a9e850","edit":"3c27ee0e45"},"editLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=214&action=edit","meta":false,"authorName":"Del","uploadedToLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=27&action=edit","uploadedToTitle":"Food and drink","filesizeInBytes":302997,"filesizeHumanReadable":"296 kB","sizes":{"full":{"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-FOOD1-Large.jpg","height":526,"width":860,"orientation":"landscape"},"thumbnail":{"height":150,"width":150,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-FOOD1-Large-150x150.jpg","orientation":"landscape"},"medium":{"height":183,"width":300,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-FOOD1-Large-300x183.jpg","orientation":"landscape"},"post-thumbnail":{"height":125,"width":125,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-FOOD1-Large-125x125.jpg","orientation":"landscape"}},"height":526,"width":860,"orientation":"landscape","compat":{"item":"<input type=\"hidden\" name=\"attachments[214][menu_order]\" value=\"0\" \/><table class=\"compat-attachment-fields\">\t\t<tr class='compat-field-media_category'>\t\t\t<th scope='row' class='label'><label for='attachments-214-media_category'><span class='alignleft'>Media Categories<\/span><br class='clear' \/><\/label><\/th>\n\t\t\t<td class='field'><ul class=\"term-list\"></li>
    <li>No Media Categories found.<\/li><\/ul><\/td>\n\t\t<\/tr>\n<\/table>","meta":""},"filesize":"296 kB","acf_errors":false},{"id":213,"title":"EPIC FOOD1 Small","filename":"EPIC-FOOD1-Small.jpg","url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-FOOD1-Small.jpg","link":"http:\/\/nml-imac.local:5757\/food-and-drink\/epic-food1-small\/","alt":"","author":"3","description":"","caption":"","name":"epic-food1-small","status":"inherit","uploadedTo":27,"date":1445605945000,"modified":1445605945000,"menuOrder":0,"mime":"image\/jpeg","type":"image","subtype":"jpeg","icon":"http:\/\/nml-imac.local:5757\/wp-includes\/images\/media\/default.png","dateFormatted":"23rd October 2015","nonces":{"update":"247a327e92","delete":"f5bb8c3823","edit":"6b55a3326a"},"editLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=213&action=edit","meta":false,"authorName":"Del","uploadedToLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=27&action=edit","uploadedToTitle":"Food and drink","filesizeInBytes":93305,"filesizeHumanReadable":"91 kB","sizes":{"full":{"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-FOOD1-Small.jpg","height":200,"width":480,"orientation":"landscape"},"thumbnail":{"height":150,"width":150,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-FOOD1-Small-150x150.jpg","orientation":"landscape"},"medium":{"height":125,"width":300,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-FOOD1-Small-300x125.jpg","orientation":"landscape"},"post-thumbnail":{"height":125,"width":125,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/EPIC-FOOD1-Small-125x125.jpg","orientation":"landscape"}},"height":200,"width":480,"orientation":"landscape","compat":{"item":"<input type=\"hidden\" name=\"attachments[213][menu_order]\" value=\"0\" \/><table class=\"compat-attachment-fields\">\t\t<tr class='compat-field-media_category'>\t\t\t<th scope='row' class='label'><label for='attachments-213-media_category'><span class='alignleft'>Media Categories<\/span><br class='clear' \/><\/label><\/th>\n\t\t\t<td class='field'><ul class=\"term-list\"></li>
    <li>No Media Categories found.<\/li><\/ul><\/td>\n\t\t<\/tr>\n<\/table>","meta":""},"filesize":"91 kB","acf_errors":false},{"id":170,"title":"hero_1","filename":"hero_1.jpg","url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/hero_1.jpg","link":"http:\/\/nml-imac.local:5757\/book-a-table\/hero_1\/","alt":"","author":"1","description":"","caption":"","name":"hero_1","status":"inherit","uploadedTo":25,"date":1445589919000,"modified":1445589919000,"menuOrder":0,"mime":"image\/jpeg","type":"image","subtype":"jpeg","icon":"http:\/\/nml-imac.local:5757\/wp-includes\/images\/media\/default.png","dateFormatted":"23rd October 2015","nonces":{"update":"ffb427b962","delete":"e0f35ebeb3","edit":"f00c6fa0d7"},"editLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=170&action=edit","meta":false,"authorName":"Neil","uploadedToLink":"http:\/\/nml-imac.local:5757\/wp-admin\/post.php?post=25&action=edit","uploadedToTitle":"Book a table","filesizeInBytes":64232,"filesizeHumanReadable":"63 kB","sizes":{"full":{"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/hero_1.jpg","height":520,"width":858,"orientation":"landscape"},"thumbnail":{"height":150,"width":150,"url":"http:\/\/nml-imac.local:5757\/wp-content\/uploads\/2015\/10\/hero_1-150x150.jpg","orientation":"landscape"},&quot
    </li>
Viewing 1 replies (of 1 total)
  • Thread Starter Neil

    (@encrypt1on)

    It appears I have managed to get the grid view working by commenting the following code:

    // Loop through all potential sizes that may be chosen. Try to do this with some efficiency.
    // First: run the image_downsize filter. If it returns something, we can use its data.
    // If the filter does not return something, then image_downsize() is just an expensive
    // way to check the image metadata, which we do second.
    foreach ( $possible_sizes as $size => $label ) {
    
    	/** This filter is documented in wp-includes/media.php */
    	if ( $downsize = apply_filters( 'image_downsize', false, $attachment->ID, $size ) ) {
    		if ( ! $downsize[3] )
    			continue;
    		$sizes[ $size ] = array(
    			'height'      => $downsize[2],
    			'width'       => $downsize[1],
    			'url'         => $downsize[0],
    			'orientation' => $downsize[2] > $downsize[1] ? 'portrait' : 'landscape',
    		);
    	} elseif ( isset( $meta['sizes'][ $size ] ) ) {
    		if ( ! isset( $base_url ) )
    			$base_url = str_replace( wp_basename( $attachment_url ), '', $attachment_url );
    
    		// Nothing from the filter, so consult image metadata if we have it.
    		$size_meta = $meta['sizes'][ $size ];
    
    		// We have the actual image size, but might need to further constrain it if content_width is narrower.
    		// Thumbnail, medium, and full sizes are also checked against the site's height/width options.
    		list( $width, $height ) = image_constrain_size_for_editor( $size_meta['width'], $size_meta['height'], $size, 'edit' );
    
    		$sizes[ $size ] = array(
    			'height'      => $height,
    			'width'       => $width,
    			'url'         => $base_url . $size_meta['file'],
    			'orientation' => $height > $width ? 'portrait' : 'landscape',
    		);
    	}
    }

    Located – Code Line 2798:

    wp-includes/media.php

    I will have to leave this commented until further notice.

Viewing 1 replies (of 1 total)
  • The topic ‘upload.php (grid mode) – no viewable items’ is closed to new replies.