ForgeComponents
en

Components

j-Gallery

jComponent 20 · jcomponent@20 component Example loaded with jComponent 20
  • works with Bootstrap Grid System

Use it with <ui-component name="gallery">. When the component is not loaded yet, jComponent downloads it on first use from the address in DEF.fallback (the Componentator CDN by default). Author: Peter Širka. Source: the Componentator components repository, MIT license.

example.html
<style>
	body { background-color: #F0F0F0; }
</style>

<div>Images are from <a href="https://pixabay.com" target="_blank">https://pixabay.com</a></div>
<br />

<ui-component name="gallery" class="row"> 
	<div class="col-xs-4">
		<img src="https://cdn.pixabay.com/photo/2018/07/24/20/18/noodles-3559956__480.jpg" data-src="https://cdn.pixabay.com/photo/2018/07/24/20/18/noodles-3559956_1280.jpg" border="0" class="img-responsive" />
	</div>
	<div class="col-xs-4">
		<img src="https://cdn.pixabay.com/photo/2018/07/22/13/12/sunflower-3554567__480.jpg" data-src="https://cdn.pixabay.com/photo/2018/07/22/13/12/sunflower-3554567_1280.jpg" border="0" class="img-responsive" />
	</div>
	<div class="col-xs-4">
		<img src="https://cdn.pixabay.com/photo/2018/07/06/23/31/bike-3521373__480.jpg" data-src="https://cdn.pixabay.com/photo/2018/07/06/23/31/bike-3521373_1280.jpg" border="0" class="img-responsive" />
	</div>
</ui-component>
<br />
<ui-component name="gallery" class="row">
	<div class="col-xs-4">
		<img src="https://cdn.pixabay.com/photo/2018/07/26/05/52/sheep-3562868__480.jpg" data-src="https://cdn.pixabay.com/photo/2018/07/26/05/52/sheep-3562868_1280.jpg" border="0" class="img-responsive" />
	</div>
	<div class="col-xs-4">
		<img src="https://cdn.pixabay.com/photo/2018/06/28/15/23/soft-fruits-3504149__480.jpg" data-src="https://cdn.pixabay.com/photo/2018/06/28/15/23/soft-fruits-3504149_1280.jpg" border="0" class="img-responsive" />
	</div>
	<div class="col-xs-4">
		<img src="https://cdn.pixabay.com/photo/2018/07/06/08/49/tomato-3520004__480.jpg" data-src="https://cdn.pixabay.com/photo/2018/07/06/08/49/tomato-3520004_1280.jpg" border="0" class="img-responsive" />
	</div>
</ui-component>