J3.x

J3.x:Adding custom fields/Gallery Field

From Joomla! Documentation

Revision as of 19:15, 8 February 2017 by Astridx (talk | contribs) (Created page with "===Gallery=== Provides a drop down list of directories. All images in the selected directory will be shown in in the frontend as gallery. ====Options==== Special options with...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Gallery

Provides a drop down list of directories. All images in the selected directory will be shown in in the frontend as gallery.

Options

Special options within this field are:

  • Thumbnailwidth
  • Maxwidth
  • Maxheight
  • Recursive
  • Multiple
  • Directory

Related Information

[[]]

Screenshots

Creating the field

Let's say you create a field with the options shown in the next figure.

Using the field in the backend

In the backend while creating an article or a contact you see the field like in the following imageː

Using the field in the frontend

In the frontend, you can see the field as you see in the following image. The option Automatic display is responsible for the position of the field and your template is responsible for the design of the field.

Is not that great?