Project

General

Profile

Actions

Bug #38868

closed

Relative image paths not working in Backend

Added by Benny Schimmer almost 12 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2012-07-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

When trying to render FE Content Element Previews in a Backend Modul in 4.7.2 Images are not rendered when using cObj->IMAGE.
The relative image paths are wrong in BE.
I found $GLOBALS['TSFE']->tmpl->getFileName_backPath.

Problem:
The mentioned configuration param is not used in t3lib_stdGraphic->getImageDimensions.

Fix:
Add the following lines to the beginning of the method:

if($GLOBALS['TSFE']->tmpl->getFileName_backPath) {
$imageFile = $GLOBALS['TSFE']->tmpl->getFileName_backPath . $imageFile;
}

I'll try to commit the fix to Gerrit (never comitted a fix).

Actions #1

Updated by Gerrit Code Review almost 12 years ago

  • Status changed from New to Under Review

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/12750

Actions #2

Updated by Gerrit Code Review almost 12 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12828

Actions #3

Updated by Gerrit Code Review almost 12 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12828

Actions #4

Updated by Alexander Opitz almost 11 years ago

  • Status changed from Under Review to New
  • Target version deleted (4.7.3)

Patch was abandoned.

Hi Benny,

can you create a new patch and fix the given concerns?

Actions #5

Updated by Alexander Opitz almost 11 years ago

  • Status changed from New to Needs Feedback
Actions #6

Updated by Alexander Opitz over 10 years ago

  • Status changed from Needs Feedback to Closed
  • Is Regression set to No

No feedback for over 90 days.

If you think, that this is the wrong decision, then please write to the mailing list typo3.teams.bugs with issue number and an explanation.

Actions

Also available in: Atom PDF