Tuesday, March 30, 2010

Howto enable click enlarge images in the RTE of TYPO3

Sometimes it’s handy to put images directly in the RTE instead of attaching them via the media tab in normal pagecontent or in a tt_news article. Together with a lightbox you can than browse through the images, which are spread in the text, like a gallery.

1.  Check “Enable images in the RTE” and “Enable click-enlarge on images” in htmlArea RTE
Via the extension manager click on the extension “htmlArea RTE” and there check “Enable images in the RTE” and “Enable click-enlarge on images”. After that click on Update on the bottom.


Install and include “PMK Slimbox” and “PMK SlimBox for TT_news RTE-Text “  (optional)
If you like to use a Lightbox for nice image enlargement you could install PMK Slimbox and if you use tt_news you might want PMK SlimBox for TT_news RTE-Text, which allows  images inserted via the RTE also to have a lightbox. After installing via the extensionmanager include the static templates (see image above).

4. Check image button, tsconfig, default max width of RTE images
You should see now an image button in the RTE. If not, it is probably disabled in the tsconfig of the main page. For that edit the page properties of your root page and check under tab options. Make sure it is not listed under RTE.default.hidebuttons. If you would like to have a default width of images inserted in the RTE, you could enter there :

RTE.default.buttons.image.options.magic.maxWidth = 700
This gives the inserted image in the RTE maximum 700px width.

5. Insert image in RTE and set on click enlarge

After inserting the image, right click on it, choose "Image Properties" and check "Click-enlarge"


Source: http://www.training-typo3.com/2009/03/12/howto-enable-click-enlarge-images-in-the-rte/

0 comments:

Post a Comment

Tu comentario será moderado la primera vez que lo hagas al igual que si incluyes enlaces. A partir de ahi no ser necesario si usas los mismos datos y mantienes la cordura. No se publicarán insultos, difamaciones o faltas de respeto hacia los lectores y comentaristas de este blog.