Skip to main content
Average ER Wait Time
Checking ER Wait Time
The feed could not be reached
Retry?
Web Q
--
mins
Web Q 2
--
mins

Modal Image Gallery Widget Snippet Generator

Modal Image Gallery Widget


This widget is an image gallery that opens the image on a modal box on click on desktop. The modals are only used on desktop. In the mobile, the images appear at full width and scrollable. The images are not clickable.

The images gallery should be placed on its own page. It can be used with the "Left Aside" template or the "No Asides" template.

View Example

Widget Styles

The widget styles are in the http://web-q-hospital.prod.ehc.com/global/hut/widgets/css/webq-widgets.css stylesheet. Make shure this is included in the /util/custom/start.vtl.

<link rel="stylesheet" href="https://web-q-hospital.secure.ehc.com/global/hut/widgets/css/webq-widgets.css"/>

Requirements

  • Max width of images: 600px
  • Max number of images in gallery: 50

Snippet Generator

(default: Image Gallery)