Documentation

How to use Syntax

Let's find out what can be achieved with CW Article Gallery Syntax...

If you dont want gallery displayed under(or above) article content, but inside the content, you can use plugin syntax. Default syntax is {cwgallery}.

for Advanced examples we used these settings:

  • Turned ON displaying Image Title and Description on thumbnail hover
  • Turned ON displaying Image Title and Description on image detail in lightbox
  • Desired set for Lightbox settings
  • Layout Masonry with Square sized generated thumbnails
  • 3 columns with 10px borders
  • No Filters enabled
  • No Loadmore enabled

All following examples will use these parameters settings, they cannot be (yet maybe .) ) changed via syntax.

#Example 1: Basic syntax usage

{ cwgallery }
this syntax will display whole gallery with parameters that are set in plugin (or in article which override global plugin settings)

#Example 2: Displaying part of gallery

you can display only a part of uploaded images in a gallery instance.

{ cwgallery start=1;count=6}
this syntax will display part of gallery - 6 images from 1st one

{ cwgallery start=7;count=6}
this syntax will display part of gallery - 6 images starting from 7th image

#Example 3: Displaying selected images from gallery

you can display only a part of uploaded images in a gallery instance.

{ cwgallery list=2,5,8}
this syntax will display part of gallery - only selected images on 2nd, 5th, 6th and 8th position

#Example 4: Layout change

you can set the gallery layout output settings via syntax:

{ cwgallery layout=grid3dcube}
this syntax will display Grid3D Cube layout - rest of parameters taken from article/plugin settings. Don't forget, you dont have to set these parameters via syntax if you set your gallery in article/plugin settings to work as you wish. We use the syntaxes to show multiple gallery instances where each one is different.

#Note:

Syntax parameters can be combined... only exception is that list will override start/count parameters. For example you can use syntax as {cwgallery start=1;count=4;layout=metro;cols=4}

 

Are you impressed enough to try it? Go to download sectionDOWNLOAD

...or Sign Up firstBUY NOW

Video

Video

Thumbnails can be linked to a video - Youtube, Vimeo links.

 

video1