Feature #19290

Integrate hook at the end of tslib_cObj::getImgResource

Added by Oliver Hader over 12 years ago. Updated almost 11 years ago.

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

0%

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

Description

Imagine you'd like to post-process any image file by a special effect that is not covered by the current standard possibilities of ImageMagick or the image rendering functionality of TYPO3 in general.

To be able to achieve this, it would be required to be able to work with the image resource generate in the getImgResource() method.

(issue imported from #M9292)


Files

0009292.patch (5.36 KB) 0009292.patch Administrator Admin, 2008-09-04 19:28
0009292_for_typo3_4-2-8.patch (7.42 KB) 0009292_for_typo3_4-2-8.patch Administrator Admin, 2009-08-03 15:17
0009292_v2.patch (7.02 KB) 0009292_v2.patch Administrator Admin, 2009-08-03 21:48
0009292_v2_test.patch (3.7 KB) 0009292_v2_test.patch Administrator Admin, 2009-08-03 21:49
0009292_v3.patch (7.06 KB) 0009292_v3.patch Administrator Admin, 2009-08-30 21:41
0009292_v3_test.patch (3.76 KB) 0009292_v3_test.patch Administrator Admin, 2009-08-30 21:45

Related issues

Has duplicate TYPO3 Core - Feature #18849: New Hook in function cImage functionClosedBenni Mack2008-05-25

Actions
#1

Updated by Oliver Hader over 12 years ago

The attached patch implements this feature and is used in one of my projects to render an waterfloor/reflection like effect on images...

#2

Updated by Stefan Geith almost 12 years ago

I tested this with Typo3 4.3 R5754 with a selfmade extension, that adds rounded corners to any image: Patch works.

#3

Updated by Stefan Geith almost 12 years ago

I just added a patch for Typo3 Version 4.2.8.
For all who need this in 4.2 too (like me).

#4

Updated by Oliver Hader over 11 years ago

Committed to SVN Trunk:
  • new hook (rev. 5847)
  • test case (rev. 5848)

Also available in: Atom PDF