terminal42 / contao-pageimage

MIT License
12 stars 14 forks source link

no support for webp? #42

Closed NinaG closed 4 years ago

NinaG commented 4 years ago

It seems, that I cannot choose a webp-image in the pageimage-feature. How can I change that? I added webp to allowed file types in Contao settings.

Toflar commented 4 years ago

It has to be part of the validImageTypes (the new configuration value is contao.image.valid_extensions. Are you running the latest version of Contao?

NinaG commented 4 years ago

Contao 4.4 LTS.

Ich habe in den Systemeinstellungen bei den "Erlaubte Download-Dateitypen" und bei "Erlaubte Upload-Dateitypen" jeweils "webp" ergänzt. Dennoch keine Möglichkeit beim Bild der Seite in der Seitenstruktur ein webp-Bild auszuwählen.

aschempp commented 4 years ago

validImageTypes is not "Erlaubte Download-Dateitypen" or "Erlaubte Upload-Dateitypen" 😉

Toflar commented 4 years ago

Wie gesagt, diese Einstellungen haben nichts mit dem Problem zu tun. Es geht um die validen Bildtypen. Und da fehlt webp in der 4.4. Du kannst sie hinzufügen mit

# config.yml
contao:
    image:
        valid_extensions: ['jpg', 'jpeg', 'gif', 'png', 'tif', 'tiff', 'bmp', 'svg', 'svgz', 'webp']

Aber Contao kann sie halt nicht verarbeiten.

NinaG commented 4 years ago

Verstehe, danke für die Erklärung.