Zum Inhalt springen

tinymce_rte stellt Zauberbilder immer auf 300px

Erstellt am 24. November 2009 · 1 Antwort · letzte Antwort am 10. Dezember 2009

Tags: Bilder, Frage

design-galaxie ·

Hallo zusammen,

trotz folgender Constants im Template auf der Root Seite:

styles.content.imgtext.maxW = 600
styles.content.imgtext.maxWInText = 150

Trotz folgendem TS im Setup des Root Templates:

tt_content.textpic.20.maxW = 1000
tt_content.textpic.20.maxWInText = 800

Trotz folgendem TSConfig auf Root Ebene:

RTE.default {
# do you want to create a single gzip file for the rte (much faster)
gzip = 1
# Should the gzip file saved in typo3temp/tinymce_rte/ for further use (faster)
gzipFileCache = 1
typo3filemanager {
# width/height of the typo3filemanger popup
window.width = 800
window.height = 600
# possible values for defaultTab = page,file,url,mail
defaultTab = page
# possible values for defaultImageTab = magic,plain,upload
defaultImageTab = magic
# in the imagebrowser how big should the thumbnails be
thumbs.width = 200
thumbs.height = 150
# defines the maximum allowed image size if you create a plain image
maxPlainImages.width = 1000
maxPlainImages.height = 1000
}

Es steht auch alles richtig im Constant Editor und im Typoscript Object Browser bei tt_content.image und bei tt_content.textpic.

Wenn ich nun im tinymce_rte auf den Bild einfügen Button klicke und ein neues Zauberbild auswähle trägt er mir unter Außmaße immer automatisch 300px ein bzw. schreibt style="width:300px;" in den HTML Quellcode. Tinymce_rte ist in der neuesten Version installiert und gepached.

Kann mir evtl. jemand sagen warum das nicht klappt bzw. hat jemand das Problem gelöst, auf der demo Seite (http://carla.webteam.at:88-) tritt das Problem auch auf liegt aber vermutlich daran, dass da maxWInText noch den Default Wert hat.

xTheTronx ·

Hallo,

vielleicht hast Du es ja schon gelöst.

typo3conf/ext/tinymce_rte/mod2rte_select_image.php
Zeile 238

if (!$cWidth) $cWidth=500;

So hat´s bei mir geklappt.

Gruß

Torsten