Expression feature Print E-mail
(17 votes)

Core Design Web Gallery plugin comes with very interesting feature called "expression".

 

What's that?

It's all about regular expression to process the gallery images.

{webgallery}...{/webgallery} notation is the default expression to process your specified images. You know that already.

 

Which expressions are allowed?
 

- Web Gallery marks (default)

Example:
{webgallery}MY IMAGES{/webgallery}

 

- HTML class

Process the images based on specified class. The default IMG class = "webgallery".

HTML code example:
<img src="my_image.png" class="webgallery" />

How to change the default class?
Just edit the params.ini file located in /plugins/contentc/cdwebgallery/expression/class directory.
Note: Set * (asterisk) to process all images.

Which themes are allowed?
Single theme.

Note: The settings (engine for example) are based on plugin configuration.