Create an HTML page for an image gallery which shows the use of BOOTSTRAP to rearrange and resize its contents on resizing the browser. Create 2 buttons, when you click on the first one 2 images will be shown in a row in small, medium and large devices and 1 image will be shown in extra-small devices. When you click on the 2nd button, 4 images will be shown in a row in medium and large devices, 2 images will be shown in small devices and 1 image will be shown in extra-small devices.