Book Image

Mastering TypoScript: TYPO3 Website, Template, and Extension Development

Book Image

Mastering TypoScript: TYPO3 Website, Template, and Extension Development

Overview of this book

Free, open-source, flexible, and scalable, TYPO3 is one of the most powerful PHP content management systems. It is well suited for creating intranets and extranets for the enterprise. While providing an easy-to-use web interface for non-technical authors and editors of content, its messaging and workflow system enable shared authoring and collaboration. TYPO3 provides flexible and powerful interfaces for both content editors and administrators, giving them full control of the core aspects the system. However for developers who need to customize the system, TYPO3 offers a powerful configuration language called TypoScript. Good knowledge of TypoScript is really a prerequisite for implementing complex applications with TYPO3 and gives developers full control over the configuration of TYPO3 and its template engine. TypoScript enables the complete output template to be created and manipulated, giving you full control over the layout of the site. TypoScript also allows you to integrate dynamic contents, JavaScript-based menus, Flash, Graphics, etc. with ease. You have maximum control over the design of the website and can control all options that would otherwise be addressed by HTML-simple text output, formatting, and much more. TypoScript also allows you to generate graphics at run time and display different content dynamically.
Table of Contents (19 chapters)
Mastering TypoScript: TYPO3 Website, Template, and Extension Development
Credits
About the Author
Preface

Chapter 6. Working with Graphics

TYPO3 also has a lot to offer in the area of graphics processing. In the simplest case, the editor integrates finished pictures as content elements. For this, the relevant graphic is selected from the Fileadmin area or loaded on the server from the local hard drive. The showstopper is that TYPO3 is not restricted to dealing with GIF, PNG, or JPEG files—even formats like TIF and PCX, which are not really suitable for the Internet, are not a problem for TYPO3. These file formats are automatically converted.

Prerequisites

In order to be able to reconstruct the following examples, put a few pictures in the Temp area. This chapter assumes that there is a sub-directory images/ in the Temp directory. The easiest way to upload the graphics is using the Images module. To do this, call the module, click on File Upload in the context menu of images and load at least two graphics on the server (what these graphics look like is of no concern).

Normally you can run TYPO3...