Feature #16460
closedImage zoom if width > X px
0%
Description
Introducing new constant, e.g. styles.content.imgtext.minZoomW, which would enable JS zoom for current image if it is wider than {$styles.content.imgtext.minZoomW}.
I.e. we want to make sure the original image is big enough to be shown in the click-enlarge-popup.
TS would look something this:
tt_content.image.20.1.imageLinkWrap.enable.value = {$styles.content.imgtext.minZoomW}
tt_content.image.20.1.imageLinkWrap.enable.isGreaterThan = WIDTH OF CURRENT IMAGE
This TS code won't work currently, since we cannot get image width at the moment of execution.
Default value for styles.content.imgtext.minZoomW would be styles.content.imgtext.maxWInText - so FE won't enable zoom of image which is already displayed in the text, in the full size.
(issue imported from #M4028)
Updated by Alexander Opitz about 11 years ago
- Target version deleted (
0) - TYPO3 Version set to 4.0
Hi,
as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Alexander Opitz about 11 years ago
- Status changed from New to Needs Feedback
Updated by Alexander Opitz over 10 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this ticket.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.