Project

General

Profile

Actions

Feature #16460

closed

Image zoom if width > X px

Added by John Angel over 18 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2006-08-12
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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)

Actions

Also available in: Atom PDF