[BUGFIX] Show images in preview of page module
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / View / PageLayoutView.php
index 88fd6c9..32fe317 100644 (file)
@@ -1589,6 +1589,9 @@ class PageLayoutView extends \TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRe
                                                if ($row['bodytext']) {
                                                        $out .= $this->linkEditContent($this->renderText($row['bodytext']), $row) . '<br />';
                                                }
+                                               if ($row['image']) {
+                                                       $out .= $this->thumbCode($row, 'tt_content', 'image') . '<br />';
+                                               }
                                        } else {
                                                $message = sprintf(
                                                        $this->getLanguageService()->sL('LLL:EXT:lang/locallang_core.xlf:labels.noMatchingValue'),