PAHMA-1131: implement the 3 media queries which provide restrictions on images