if(window.innerHeight > window.innerWidth){ alert("We recommend switching to landscape mode, or the maximizing your browser width, for a better experience. If the gallery image does not fill your screen, zoom your browser accordingly."); }