[TYPO3-project-seminars] Integrating pictures into the description

Pat pizpat at gmx.de
Tue Jul 8 18:10:10 CEST 2008


Hi Andreas,

Great, it works! Thanks a lot!!!
Primary pictures were intended by the developers, see http://lists.netfielders.de/pipermail/typo3-german/2005-October/004917.html

Cheers
Patricia


> Pat schrieb:
> > With the picture-button in the editor I can integrate pictures into the
> description-field - Normale Bilder or Zauberbilder -, but after saving
> they're always  replaced by <p>&nbsp;</p>.
> > The same result is after writing an image-Tag into the HTML-View, also
> when using "rtekeep="1".
> > 
> > I would be grateful to get a hint about how to integrate pictures in the
> description-field.
> 
> Hi Patricia,
> 
> it seems that pictures are not intended by the developers. And i do not 
> know the reason ...
> But there is a way to integrate them - I found it somewhere in the web 
> when I was searching for the same problem.
> You can set the following code in the tsconfig in the sysfolder with 
> your seminars.
> 
> RTE.default {
> ## Enable the image button
> showButtons := addToList(image)
> ## Tags allowed outside p and div
> ## Adding img tag to the default list
> proc.allowTagsOutside := addToList(img)
> ## Do not remove img tags
> proc.entryHTMLparser_db.tags.img >
> }
> 
> RTE.default.FE.showButtons < RTE.default.showButtons
> RTE.default.FE.proc.allowTagsOutside < RTE.default.proc.allowTagsOutside
> RTE.default.FE.proc.entryHTMLparser_db.tags.img >
> 
> I have tested this on my developing-system and it works. But I really 
> don´t know if there are any further consequences.
> 
> kind regards
> 
> Andreas
> _______________________________________________
> TYPO3-project-seminars mailing list
> TYPO3-project-seminars at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-seminars

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger


More information about the TYPO3-project-seminars mailing list