[BUGFIX] Adapt ShowPic popup to use FAL 52/28252/6
authorSteffen Ritter <info@rs-websystems.de>
Tue, 11 Mar 2014 13:07:00 +0000 (14:07 +0100)
committerSteffen Ritter <info@rs-websystems.de>
Wed, 12 Mar 2014 10:38:16 +0000 (11:38 +0100)
commit2a85eeb6d623e74955703b254e24b958790c9a45
tree102b4af983cebf0e9895d9384f895da2914ac95f
parentd1ef712081684ffb0a7e3c63c70758d6240eeb5a
[BUGFIX] Adapt ShowPic popup to use FAL

If not using own Lightboxes TYPO3 ships a custom solution
of an image-enlarge popup. This combines an eID for rendering
the image as well as a short JavaScript snippet opening that
in a new window.

The php code for rendering that link as well as the popup code
itself are not fal aware and to image-processing on their own.
As a result this feature is only able to deal with files in local
file system.

This change refactors both imageLinkWrap as well as
ShowImageController to use and work on FAL objects.

Releases: 6.2
Resolves: #56723
Change-Id: Iebf1379b8f72cf57d69a06b0b7540cbd8ccb32c1
Reviewed-on: https://review.typo3.org/28252
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Fabien Udriot
Tested-by: Fabien Udriot
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
typo3/sysext/cms/tslib/showpic.php
typo3/sysext/css_styled_content/Classes/Controller/CssStyledContentController.php
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Classes/Controller/ShowImageController.php