Gallery3:Modules:text truncate - Gallery Codex
Personal tools

Gallery3:Modules:text truncate

From Gallery Codex

Text truncate

Adds the necessary JavaScript to truncate long texts.


Gives the administrator the ability to add a 'more' and less' links to long texts. Text longer than the admin settings will be truncated and a 'more/less' text link will be shown.
Album descriptions, sidebar descriptions, comments and photo descriptions can all have different truncate lengths though the admin setting of the module.

Screen shots

Text truncate admin.png


This module may be downloaded from the codex here.

To install, extract the "text_truncate" folder from the zip file into your Gallery 3 modules folder.
Afterwards log into your Gallery web site as an administrator and activate the module in the Admin -> Modules menu.
Configure the module: Settings -> Text truncate. You will be able adjust the default settings. Save


You must save the settings on the admin page for the settings to used.