pkSML wrote
It looks like you're using jQuery, so you can save this code as a JS file, e.g. browser_width.js. Then call it in your pages with...
Hey there, pkSML, thanks for the suggestion.
I copied & pasted your code into a new .js file, and then called it from my photo gallery, but the page now shows:
","context":{"items":"description,content","width":"width-default"},"folders":{"grid":{"columns":"5,5,1"},"width":"wide","sortby":"name","items":"title,preview,amount,description,date,folders_amount"},"type":"page","id":"p722cf5","permalink":"/galleries/bases/Cornwallis/","canonical":"https://www.aurorawings.me/galleries/bases/Cornwallis/","file_path":"/content/galleries/bases/Cornwallis","preview_image_full":"https://www.aurorawings.me/content/galleries/bases/Cornwallis/Cornwallis~MainGate~88080366_2543255759224252_6281891429954355200_n (Gerry Giberson)~auto~cropped~preview.png"}; function jsFail(){ var s = document.createElement('script'); s.type = 'text/javascript'; s.onload = imagevue_; s.src = '/app/public/js/3.34.2/x3.min.js'; document.getElementsByTagName('head')[0].appendChild(s); }
...and then I have a circle continuously rotating, with nothing else on the page showing (except Google reCAPTCHA at the bottom of the page.
But now that I think about it, that problem/error could be caused by the photo gallery script itself. That script requires an .htaccess file to run, which of course Abyss doesn't use or support, so the Aprelium developers came up with a nifty fix that allows me to run the photo gallery by using Abyss rewrite rules :-). Let me check to see if I get that same error with one of my sites that does not use that photo gallery.
I have since temporarily removed the call to that script, but I can temporarily create a test gallery for you, in case you wish to check the problem with developer tools.
Thanks or taking the interest & time to think of a solution, it is greatly appreciated.
Regards,
John