Integrate Lightbox

In order to be able to open images in the lightbox (“zoom image” editor function), the following scripts must be entered in the /settings/compress.php file:

$webutler_compress['css'][] = 'content/javascript/simplelightbox/lightbox.css';,
$webutler_compress['js'][] = 'content/javascript/simplelightbox/lightbox.js'; und
$webutler_compress['js'][] = 'content/javascript/simplelightbox/load.js';

If the line "alternate text" in the "insert/edit image" window of the editor is filled, the text will appear as an image description under magnification.

Alternate Lightbox script

Of course, other Lightboxes are also possible. The editor sets the attribute rel="lightbox" (or rel="lightbox1", rel="lightbox2" etc. for grouped images with forward and back buttons) into the link. Any script can be used to deal with it.

If you know a little about Javascript, you can look in the file /simplelightbox/load.js to see how links with the attribute rel="lightbox" can be loaded. This should mean that any lightbox that loads images differently can be used.