{"id":2071,"date":"2026-11-11T21:42:06","date_gmt":"2026-11-11T10:42:06","guid":{"rendered":"https:\/\/gmac.org.au\/?page_id=2071"},"modified":"2026-11-19T21:47:25","modified_gmt":"2026-11-19T10:47:25","slug":"camera","status":"publish","type":"page","link":"https:\/\/gmac.org.au\/index.php\/camera\/","title":{"rendered":"Camera"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\" id=\"gmac_camera\"><img decoding=\"async\" src=\"https:\/\/gmac.org.au\/camera\/camera.jpg?noresize\" alt=\"Front Camera\"\/><\/figure>\n\n\n\n<script>\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n    const figure = document.getElementById(\"gmac_camera\");\n    if (!figure) return;\n\n    const img = figure.querySelector(\"img\");\n    if (!img) return;\n\n    \/\/ Clean base URL without query parameters\n    const baseUrl = img.src.split(\"?\")[0];\n\n    let lastSignature = null;\n    let checking = false;\n\n    async function checkForUpdate() {\n        if (checking) return;          \/\/ avoid overlapping requests\n        checking = true;\n\n        try {\n            \/\/ HEAD fetches only the headers, not the image itself\n            const response = await fetch(baseUrl + \"?check=\" + Date.now(), {\n                method: \"HEAD\",\n                cache: \"no-store\"\n            });\n            if (!response.ok) return;\n\n            const signature = [\n                response.headers.get(\"Last-Modified\"),\n                response.headers.get(\"Content-Length\"),\n                response.headers.get(\"ETag\")\n            ].join(\"|\");\n\n            if (signature !== lastSignature) {\n                lastSignature = signature;\n                \/\/ Cache-bust only when the file actually changed\n                img.src = baseUrl + \"?t=\" + Date.now();\n            }\n        } catch (err) {\n            console.warn(\"Camera image check failed:\", err);\n        } finally {\n            checking = false;\n        }\n    }\n\n    checkForUpdate();                  \/\/ initial check\n    setInterval(checkForUpdate, 10000); \/\/ every 10 seconds\n});\n<\/script>\n\n\n\n<style data-wp-block-html=\"css\">\n#secondary {\n    display: none !important;\n}\n\n\n<\/style>\n\n\n\n<style data-wp-block-html=\"css\">\n#colophon {\n    display: none !important;\n}\n.below-footer {\n  display: none;\n}\n#primary {\n  width: 100%;\n  left: 0;\n}\n.content-area {\n  position: absolute;\n  width: 100%;\n  min-height: 1px;\n  padding-right: 0;\n  padding-left: 0;\n}\n\n.col-md-8 {\n  flex: 0 0 100%;\n  max-width: 100%;\n}\n\n\nbody.page-id-2071 {\n    background-image: none !important;   \n}\n\n.entry-title {\n  display: none;\n}\n\n@media screen and (max-width: 1023px) {\n    body.page-id-2071 {\n        background-image: none !important;\n        #primary-menu {\n           display: none;\n        }\n\n       .main-menu-btn {\n         position: relative;\n         display: inline-block;\n         width: 18px;\n         height: 20px;\n         text-indent: 28px;\n         white-space: nowrap;\n         cursor: pointer;\n         top: 20px;\n         -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n         overflow: hidden;\n       }\n    }\n}\n<\/style>\n\n\n\n<p class=\"wp-block-paragraph\">GMAC field live view refreshes each 10 minutes. If you like it, head to the Contact tab for more information about visits and membership.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>GMAC field live view refreshes each 10 minutes. If you like it, head to the Contact tab for more information about visits and membership.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ngg_post_thumbnail":0,"footnotes":""},"class_list":["post-2071","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/gmac.org.au\/index.php\/wp-json\/wp\/v2\/pages\/2071","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gmac.org.au\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/gmac.org.au\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/gmac.org.au\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gmac.org.au\/index.php\/wp-json\/wp\/v2\/comments?post=2071"}],"version-history":[{"count":48,"href":"https:\/\/gmac.org.au\/index.php\/wp-json\/wp\/v2\/pages\/2071\/revisions"}],"predecessor-version":[{"id":2150,"href":"https:\/\/gmac.org.au\/index.php\/wp-json\/wp\/v2\/pages\/2071\/revisions\/2150"}],"wp:attachment":[{"href":"https:\/\/gmac.org.au\/index.php\/wp-json\/wp\/v2\/media?parent=2071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}