Project

General

Profile

Actions

Feature #48090

closed

AbstractTagBasedViewHelper should have a remove attributes method.

Added by Dave no-lastname-given about 11 years ago. Updated about 4 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2013-05-09
Due date:
% Done:

0%

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

Description

It would be nice if it would be possible to remove attributes forcefully just before rendering a tag.
For example:

 <f:image src="myImage.jpg" alt="Me" width="100c" height="100c" removeAttributes="{width,height}">

would render a 100x100 cropped processed image but would have the width and height attributes removed from the img tag:

 <img src="myProcessedImage.jpg" alt="Me">

I think this could be a useful functionality on all tags.


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Feature #57417: ImageViewHelper responsive ImagesNew2014-03-28

Actions
Actions

Also available in: Atom PDF