Feature #19290

Integrate hook at the end of tslib_cObj::getImgResource

Added by Oliver Hader about 11 years ago. Updated over 9 years ago.

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

0%

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)

0009292.patch View (5.36 KB) Administrator Admin, 2008-09-04 19:28

0009292_for_typo3_4-2-8.patch View (7.42 KB) Administrator Admin, 2009-08-03 15:17

0009292_v2.patch View (7.02 KB) Administrator Admin, 2009-08-03 21:48

0009292_v2_test.patch View (3.7 KB) Administrator Admin, 2009-08-03 21:49

0009292_v3.patch View (7.06 KB) Administrator Admin, 2009-08-30 21:41

0009292_v3_test.patch View (3.76 KB) Administrator Admin, 2009-08-30 21:45


Related issues

Duplicated by TYPO3 Core - Feature #18849: New Hook in function cImage function Closed 2008-05-25

History

#1 Updated by Oliver Hader about 11 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 over 10 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 over 10 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 about 10 years ago

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

Also available in: Atom PDF