Bug #38868
closedRelative image paths not working in Backend
0%
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).
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Alexander Opitz over 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?
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Needs Feedback
Updated by Alexander Opitz about 11 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.