Feature #37566

CSS Styled Content should add a register for the current image and/or image resource in imagecols/-rows

Added by Dominik Weber 12 months ago. Updated 12 months ago.

Status:Needs Feedback Start date:2012-05-29
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:TypoScript
Target version:-
TYPO3 Version:4.7 Complexity:easy
PHP Version:
Votes: 0

Description

I had the issue that it was impossible to use the current image resource in typoscript if there are more than one image in a content-element. Therefore it would help a lot if we could add another register like $GLOBALS['TSFE']->register['CURRENT_IMAGE_RESOURCE'] in line 866 of class.tx_cssstyledcontent_pi1.php (like there is "IMAGE_NUM_CURRENT").

History

Updated by Jo Hasenau 12 months ago

What is wrong with $GLOBALS['TSFE']->register['ORIG_FILENAME'] ?

Updated by Jigal van Hemert 12 months ago

  • Category set to TypoScript
  • Status changed from New to Needs Feedback

Updated by Dominik Weber 12 months ago

ORIG_FILENAME is the resource of the original file. In my case I needed the resource of the generated/scaled down version (in /typo3temp/) without scaling the original image again manually.

Also available in: Atom PDF