[TYPO3-dam-devel] RFC #14164: Bug / Feature: TSFE img tag binding class should not unset txdam attribute

Stanislas Rolland typo3 at sjbr.ca
Thu Apr 29 03:17:05 CEST 2010


Le 2010-04-20 10:07, Francois Suter a écrit :
> This is an SVN patch request.
>
> Type: Bugfix / New feature
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=14164
>
> Branches:
> 1.1 and trunk
>
> Problem:
> The tx_dam_tsfeimgtag class takes care rendering the DAM images inserted
> in the RTE. It makes the relation between the image and the DAM record
> thanks to the "txdam" attribute in the img tag.
> Unfortunately method tx_dam_tsfeimgtag::renderTxdamAttribute() unsets
> the "txdam" attribute (to avoid outputting it) so this information is
> not available in case you want to do further processing of that img tag
> (which you can by changing the TS for lib.parseFunc_RTE.tags.img).
>
> Solution:
> Copy all parameters to a separate array and unset those that must not be
> rendered in the copy, so that they are preserved in the original.
>
> Notes:
> I consider this rather a fix for a buggy behavior rather than a feature.
> I hope it can go into the 1.1 branch, as there's no plan for 1.2 yet.
>
+1 from reading

Regards,
Stanislas



More information about the TYPO3-team-dam mailing list