CG Gallery Module

1 1 1 1 1 Rating 4.48 (27 Votes)

User Rating: 4 / 5

Compat icon 3 x long first look joomla 4 This module, based on Unite Gallery version 1.7.45, displays images following various modes: tules, grids, caroussel or slider. Samples of each of these modes can be seen later.

Version 2.0.1 (July 2021) : fix not found error
Version 2.0.0 (July 2021): Joomla 4.0 compatible
Version 1.1.4 (November 2020) : remove compress option
Version 1.1.3 (October 2019): Grid init.
Version 1.1.2 (september 2019) : slider: disable zoom
Version 1.1.0 (August 2019) : K2 support
Version 1.0.5 (January 2019) : hide not required buttons
Version 1.0.4 (January 2019) : CSP/Cache Error
Version 1.0.3 (December 2018) : CSP compliance
Version 1.0.1 (September 2017) : rename extension

DownloadCG Gallery module 
(version 2.0.1)

(already downloaded 1367 times)

CG Gallery Samples
to copy in your images directory

PHP 74 PHP 80CG Gallery module is to be installed like any Joomla! module.

It has 2 parameters tabs: Display mode tab and Images choice tab.

Note: if you are using "individual image selection", you'll have to check your image selection parameters, as it has been  rewritten in version 1.1.0 of CG Gallery module.

accueil

On the main screen module, you may choose the image compression ratio that we'll use during automatic thumbnail creation. With version 1.1.4, compress option has been disabled due to host dependencies. Please use DJ Webp plugin to do the same thing, that' what we do on our pages.

Like any other module, publish it, give it as position and do not forget page assignment.

 

tuile col

On this tab, you may choose your display mode. Depending on your displau mode choice, different parameters are available. For example, when selecting Tules in Columns mode, number of columns and space length betwwen images will be displayed.

For all modes, you may display image caption and add a link to every image.

Different modes examples.

Tules/Columns mode


 

Tules/Justified mode


Tules/linked mode


 

Tules/Grid mode


Slider mode


 

Grid mode


Caroussel mode


Image choice tab.

You may choose your images in a directory (full or partial directory) or as single image selection (one image at a time).

This is the default mode. Using it, module automatically creates thumbnail images when you click on save button.

choix dir bis

Note: You may choose full directory or select the first images of the directory.

You may use the following variables in the directory choice :  $catid (category id), $catalias (category alias), $articleid (article id), $articlealias (article alias). If directory does not exist, the module creates it. On the first time display of your article/category,  thumbnail images will be automatically created.

desc.txt file allows you, for each image, to define a caption, an internal link to an article, or an external link.

desc.txt structure

<image name>|<caption>|<optional link>

If Image name field contains *, for each image without record in the desc.txt file, caption and link will be used as default.

In our samples, desc.txt file is:

*|default message
sound_cloud.jpg|this is a caption|26
tile5.jpg|Lets go and see Joomla.org|//www.joomla.org

 

 

 

choix indiv

Select your image (thumbnail image is to be created at save time).

You may add a caption (enter it after "caption") and a link with an article (click on Article ID).

It is possible to re-order images, add images, delete images:

choix indiv3