Project

General

Profile

Actions

Bug #29041

closed

Enlarge on click does not work anymore for images

Added by Patrick Broens almost 13 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Must have
Category:
Frontend
Target version:
Start date:
2011-08-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Problem:
The javascript function openPic is not added anymore to the page when "Enlarge on click" is enabled for images in the cObj "Text with images" or "Images".

Solution:
After a lookup it seems in #27983 (Remove deprecated parts marked for removal) too much was removed.

$GLOBALS['TSFE']->additionalJavaScript

was never rendered anymore and is used to add javascript function openPic to the page, when "Enlarge to click" is enabled

How to reproduce:
Add content object "Images" to a page, add an image to it and enable "Enlarge to click". Not a popup but a new tab will open.

Actions

Also available in: Atom PDF