Project

General

Profile

Actions

Feature #37566

closed

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

Added by Dominik Weber about 12 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2012-05-29
Due date:
% Done:

0%

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

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").

Actions #1

Updated by Jo Hasenau about 12 years ago

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

Actions #2

Updated by Jigal van Hemert about 12 years ago

  • Category set to TypoScript
  • Status changed from New to Needs Feedback
Actions #3

Updated by Dominik Weber about 12 years 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.

Actions #4

Updated by Alexander Opitz almost 11 years ago

Hi Dominik,

as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.1)?

Actions #5

Updated by Alexander Opitz over 10 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this ticket.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF