Working with images 


Content element Images in the TYPO3 backend

For content elements that support images (for example Text & Images, Text & Media, Images Only), you will see an Images or Media tab when you create or edit the content element.

Start by Creating a content element of type "Text & Images", "Text & Media", or "Images Only". You can find them in the tab Typical page content.

Add an image to the content element 

On the Images tab, click on the Add image button to display a File selector window which lets you browse for an image.

Screenshot of a "Text with Image" TYPO3 content element, tab "Images"

Click on "Add image" or "Select & upload files" in images tab to choose or upload an image

You can also upload files from your computer straight into the field. TYPO3 uploads them and adds them to the field. Only files with one of the allowed file extensions are uploaded.

  • Drop files onto the field: Drag the files from the file manager of your computer over the content element. A drop zone covers each file field, so you can drop the files anywhere onto the field.
  • Paste files into the field: Copy the files in the file manager of your computer, or copy image data such as a screenshot. Click into the field and press Ctrl + V. On a Mac, press Cmd + V. If you paste without clicking into a field first and the form shows several file fields, TYPO3 asks which field to add the files to.
The Images field of a content element, covered by a drop zone with the text "Drag & drop to upload files"

While you drag files over the content element, a drop zone covers the field

Browse the file tree, then select a folder. The file selector always starts in the root folder of the default storage. Use the search field to find a file by name. The search includes all the subfolders of the selected folder.

The file selector window in the TYPO3 backend

Click the name of an image to select it or use the "Upload files" dialoge. Alternatively, mark several images and import all of them at once.

The file selector can upload files from your computer to the folder it shows:

  • Click Select & upload files in the section Upload files below the files of the folder.
  • Drop the files anywhere onto the files of the folder.
  • Copy the files in the file manager of your computer, or copy image data such as a screenshot, and press Ctrl + V. On a Mac, press Cmd + V.

Only files with one of the allowed file extensions of the field are uploaded. If a file with the same name already exists in the folder, TYPO3 asks what to do with it. The folder then shows the uploaded files, so you can select them right away.

The file selector, with a drop zone over the files of the folder and the text "Drag & drop to upload files"

While you drag files over the file selector, a drop zone covers the files

Configure the image 

The Images tab lets you perform a number of actions to configure an image.

Image metadata 

Use the small arrow next to the thumbnail to collapse and expand this section.

Here you can set general metadata including description, alt text, and insert a link to the image.

Screenshot of the meta data of an image in a "Text and Image" content element

Override the default meta data of the image with custom values for this location.

The information displayed here is drawn from the file metadata set in the Media. If required, you can override this metadata to set specific values for the image for the current content element.

You can experiment with the image manipulation editor to crop or resize the image. Making changes here won't impact the original image file in Media.

Media adjustments 

Manually specify the width and height of the image in pixels, and apply a border.

Screenshot of the Media Adjustments section of a "Text and Images" content element in TYPO3

Not setting a value means the size is calculated dynamically.

Behavior 

Use the Enlarge on Click setting to enable a lightbox display for the image.

Manage your images in the Media module 

Changed in version 14.0 Feature: #107628 - Improved backend module naming and structure

This module has been renamed from Filelist to Media.

You can manage your previously uploaded images in the backend module Media:

Screenshot of the "Media" backend module in TYPO3

You can view the files as Tiles or List by switching the settings.

TYPO3 uses a file abstraction layer (FAL) you can therefore move images into different folders without affecting the frontend output of the web page, even if they are used in multiple places.

You can move images into folders by drag and drop:

Screenshot of the "Media" backend module demonstration Drag and Drop

Grab a picture with the mouse, drag it to a folder and drop it there

The file abstraction layer will not allow you to delete images that are still in use in some content element:

File not deleted, The file "xxx.png" cannot be deleted since it is still used at the following places

TYPO3 FAL will prevent you from deleting files that are still in use

First alter or delete all content elements that still use the file, then you can delete the file itself.

See also chapter Managing files in the Fileadmin.