Detecting mobile device screen orientation when Responsive Layouts won't work

There is an easier solution. Just use layouts and assign the base64 images using the event HypeResourceLoad

I actually made an extension that does this already called Hype ImageBaseEncoder

This way base 64 images are stored in variables and can be reused across layouts.

You can also define the layout using the code from @Photics with the event HypeLayoutRequest to determine the layout to show.