Shortcode

Version: 2.0

Shortcode

Enable Content - Photobox, then insert a shortcode in any article (or use the Photobox editor button).

Basic example
{photobox folder="images/photobox" columns="3" masonry="1" thumbwidth="720"}
Common attributes
  • folder — path under images/ (required for folder galleries)
  • columns — 2–6
  • gap — spacing in px
  • masonry — 1 (default) or 0 for uniform grid
  • theme — modern-2026 | minimal | dark
  • accent — e.g. #1819ed
  • thumbs — filmstrip 1 / 0
  • counter — 1 / 0
  • loop — 1 / 0
  • autoplay — 1 / 0
  • time — autoplay interval in ms
  • start — 0 = OnLoad, omit or 1 = OnClick
  • thumbwidth / thumbheight — cache size (thumbheight ignored when masonry is on)
  • webp — 1 / 0
More examples
{photobox folder="images/photobox" columns="4" masonry="1" theme="dark" accent="#2dd4bf"}

{photobox folder="images/photobox" masonry="0" columns="4" gap="4" thumbwidth="560" thumbheight="374"}

{photobox folder="images/photobox" autoplay="1" time="2500" thumbs="1" loop="1"}
Editor button

In the article editor, click Photobox, fill folder / columns / masonry / theme, then Insert shortcode.