Project

General

Profile

Actions

Feature #36230

closed

Add hooks to css_styled_content render_textpic

Added by Lorenz Ulrich over 12 years ago. Updated almost 10 years ago.

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

0%

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

Description

css_styled_content needs hooks to allow a third-party extension (e.g. dam_ttcontent) to add additional data to the image cObj. This way metadata like caption, title or alternative text can be made available for using in frontend rendering.

The current implementation (Hook $TYPO3_CONF_VARS['EXTCONF']['css_styled_content']['pi1_hooks']['render_textpic']) requires overwriting the whole render_textpic method which leads to a lot of duplicate code since the method is ~700 lines of code.

Actions

Also available in: Atom PDF