Allow both portrait and landscape images to be show depending on the
mode the display is in (fullscreen or not). This is determined by
getting the width of the image container. Both portrait and landscape
images are assumed to exist on the server - the name for landscape
images is derived from the names of the portrait images already sent over json.