---
title: "Typo3 7.6.2 LTS mit fluid_styled_content und responsive images (<picture>)"
url: "https://www.typo3.net/d/121548-typo3-762-lts-mit-fluid-styled-content-und-responsive-images-picture"
source: "typo3.net"
tags: ["Allgemein","Bilder","Frage","Inhaltselemente","TYPO3 7"]
created: "2015-12-28"
last_reply: "2016-03-27"
replies: 3
solved: false
page: 1
pages: 1
lang: "de"
---

# Typo3 7.6.2 LTS mit fluid_styled_content und responsive images (<picture>)

Allgemein · 3 Antworten · gestartet 2015-12-28

## Eröffnungsbeitrag

**GoatMachine** · 2015-12-28 · [Beitrag #1](https://www.typo3.net/d/121548-typo3-762-lts-mit-fluid-styled-content-und-responsive-images-picture/1)

Hallo zusammen,

Ich würde gerne, mithilfe von Typo3 7.6.2 LTS und fluid_styled_content die Bilder responsive bzw. mit dem picture Element ausgeben.
So wie hier:

```html
<picture>
 <source srcset="path_to_small" media="(min-width: 768px) AND (max-width: 991px)">
 <source srcset="path_to_big" media="(min-width: 1200px)">
 <source srcset="path_to_middle" media="(min-width: 992px) AND (max-width: 1199px)">
 <img src="path_to_picture">
</picture>
```

Mit Typo3 6.2 LTS habe ich css_styled_content genutzt und für dieses Ergebnisfolgendes Typoscript eingefügt:

```typoscript
tt_content.image.20.1.sourceCollection {
 large.mediaQuery = (min-width: 1200px)

 middle.maxW = 1200px
 middle.mediaQuery = (min-width: 992px) AND (max-width: 1199px)

 small.maxW = 992px
 small.mediaQuery = (min-width: 768px) AND (max-width: 991px)
}
```

Aber in der neuesten Version von Typo3 funktioniert dies leider nicht mehr.

Ich habe es bereits mit den fluid_styley_content versucht und den <f:image> Viewhelper verwendet. Leider bisher ohne Erfolg.

Gibt es eine andere Möglichkeit dies zu lösen, ohne eine extra Extension einsetzen zu müssen?

Gruß

## Antworten

### [#2](https://www.typo3.net/d/121548-typo3-762-lts-mit-fluid-styled-content-und-responsive-images-picture/2) · uhu · 2015-12-30

Hallo,

hab hier eben genau das gleiche Problem. Hast du schon eine Lösung oder einen Anhaltspunkt gefunden?

Gruß
Peter

### [#3](https://www.typo3.net/d/121548-typo3-762-lts-mit-fluid-styled-content-und-responsive-images-picture/3) · GoatMachine · 2016-01-10

Bei meiner Recherche bin ich nur auf folgende Links gestoßen. Nur leider habe ich damit bisher noch keinen Erfolg. Vielleicht hilft es dir ja und du kannst mir dann weiterhelfen ;)

<http://stackoverflow.com/questions/31808505/how-to-implement-the-sourcecollection-responsive-image-rendering-in-typo3>

<https://gist.github.com/ArminVieweg/ef22ed696403e583631a>

### [#4](https://www.typo3.net/d/121548-typo3-762-lts-mit-fluid-styled-content-und-responsive-images-picture/4) · chrisTheMan · 2016-03-27

Ich bin gerade über folgende Lösung gestolpert:

<http://blog.kollektivkreativ.at/retina-images-in-typo3-extensions>

```typoscript
<f:image src="{image.publicUrl}" alt="{image.alternative}" title="{image.title}" width="200.c-0" height="200.c-0" additionalAttributes="{srcset: '{f:uri.image(src:\'{image.publicUrl}\', width:\'400.c-0\', height:\'400.c-0\')} 2x'}" />
```

---

Quelle: „Typo3 7.6.2 LTS mit fluid_styled_content und responsive images (<picture>)“, typo3.net, https://www.typo3.net/d/121548-typo3-762-lts-mit-fluid-styled-content-und-responsive-images-picture
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
