Lightbox

[vc_row][vc_column width="1/1"][vc_column_text]Image lightbox are very popular, a part from adding a lightbox to shop, post and portfolio items there is also an option to add both inline (text) and image lightbox. Like all of Blaszok's shortcodes this one is also available through VisualComposer, which offers a simple drag & drop interface to build complex pages with ease.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/1"][mpc_vc_deco_header type="h5" text="Lightbox in Text Block"][vc_column_text]Lorem ipsum dolor sit amet, consectetur adipiscing [mpc_sh_lightbox src="http://demo_default.dev/wp-content/uploads/2014/02/shutterstock_144233608.jpg" caption="This is a lightbox caption"]Click For Lightbox[/mpc_sh_lightbox] elit. Etiam quis leo at mauris faucibus suscipit. Sed orci arcu, tincidunt at commodo in, consectetur sed enim. Vestibulum aliquet justo rutrum magna tincidunt fringilla. In eget nisl in justo mattis accumsan eu nec magna. Pellentesque [mpc_sh_lightbox src="http://demo_default.dev/wp-content/uploads/2014/02/shutterstock_144233608.jpg" caption="This is a lightbox caption"]Click For Lightbox[/mpc_sh_lightbox] pellentesque pharetra lacus, eget aliquet mi mattis eu. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/1"][mpc_vc_deco_header type="h5" text="Image Lightbox"][vc_gallery type="image_grid" interval="3" images="2962,2961,2960,2959" onclick="link_image" custom_links_target="_self" img_size="155x155"][/vc_column][/vc_row][vc_row][vc_column width="1/1"][mpc_vc_deco_header type="h5" text="Slider Lightbox"][vc_gallery type="flexslider_fade" interval="0" images="2962,2961,2960" onclick="link_image" custom_links_target="_self" img_size="full"][/vc_column][/vc_row][vc_row el_class="mpc-small-bm"][vc_column width="1/1"][mpc_vc_deco_header type="h5" text="Shortcode Attributes"][/vc_column][/vc_row][vc_row][vc_column width="1/1"][vc_column_text]
  • text - set text which will link to lightbox.
  • lightbox source - url to the image.
  • caption - lightbox window caption.
[/vc_column_text][/vc_column][/vc_row]