Image lightbox

[vc_row][vc_column][image url=»http://lenta.ee/wp-content/uploads/2015/07/blog-11.jpg» size=»small» target=»_blank» title=»Small» autoheight=»true»][/vc_column][/vc_row][vc_row][vc_column][image url=»http://lenta.ee/wp-content/uploads/2015/07/blog-11.jpg» target=»_blank» title=»Medium» autoheight=»true»][/vc_column][/vc_row][vc_row][vc_column][image url=»http://lenta.ee/wp-content/uploads/2015/07/blog-11.jpg» size=»large» target=»_blank» title=»Large» autoheight=»true»][/vc_column][/vc_row][vc_row][vc_column][image url=»http://lenta.ee/wp-content/uploads/2015/07/blog-11.jpg» size=»fullwidth» target=»_blank» title=»Full Width» autoheight=»true»][/vc_column][/vc_row][vc_row][vc_column][box_title font_size=»15″]SHORTCODE ATTRIBUTES[/box_title][vc_row_inner][vc_column_inner width=»1/2″][vc_column_text]

  • url: path of the image
  • link: address of the link
  • size: type list of size
  • target: target of link

[/vc_column_text][/vc_column_inner][vc_column_inner width=»1/2″][vc_column_text]

  • lightbox: whether to show the lightbox on image click
  • title: caption inside the lightbox
  • align: image alignment
  • auto height: whether to maintain image ratio

[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row]

    PHP Code Snippets Powered By : XYZScripts.com