Project

General

Profile

Actions

Feature #20996

closed

Add a the default width to the output if no width is set

Added by Georg Ringer about 15 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-09-04
Due date:
% Done:

0%

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

Description

If css_styled_content is used for alternative output, there can't be no width calculcated because lastImageInfo won't be filled (e.g. by showing videos). Until now a width in the content element needs to be set - otherwise it will be 0 which is wrong and breaks the output - please see attached screenshots.

Solution:
If it is 0 (why ever), don't just set it to 0 but to the default width (which is set in the constant editor)

(issue imported from #M11880)


Files

patch-csc.patch (972 Bytes) patch-csc.patch Administrator Admin, 2009-09-04 19:23
csc-before.gif (22.6 KB) csc-before.gif Administrator Admin, 2009-09-04 19:25
csc-after.gif (24.4 KB) csc-after.gif Administrator Admin, 2009-09-04 19:25
patch-csc-v2.patch (1011 Bytes) patch-csc-v2.patch Administrator Admin, 2009-09-04 20:20
Actions #1

Updated by Alexander Opitz over 11 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)
  • TYPO3 Version set to 4.3

As this report is very old, is the handling in newer TYPO3 CMS Versions (like 6.0/6.1) more like you expect it?

Actions #2

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed

No feedback for over 90 days.

Actions

Also available in: Atom PDF