Closed operatorone closed 12 months ago
You can let the image be transformed by Contao (if your environment supports HEIC):
# config/config.yaml
contao:
image:
valid_extensions:
- jpg
- jpeg
- gif
- png
- tif
- tiff
- bmp
- svg
- svgz
- webp
- heic
sizes:
instagram:
formats:
heic: [jpg]
Or to also provide WebP for all formats:
# config/config.yaml
contao:
image:
valid_extensions:
- jpg
- jpeg
- gif
- png
- tif
- tiff
- bmp
- svg
- svgz
- webp
- heic
sizes:
instagram:
formats:
gif: [webp, gif]
jpg: [webp, jpg]
jpeg: [webp, jpeg]
webp: [webp, jpg]
png: [webp, jpg]
heic: [webp, jpg]
Ok, I will try. But could this the reason the <img src="" alt="">
is completly empty?
Likely, yes.
Cool! Worked like a charm. This trick should be found in the manual 😉
Hi, since some days images are not shown anymore after importing them from Instagram. See here https://www.heiserimkerei.de/ueber-uns/instagram.html
Instagram changed the image format to HEIC, which the importer is not recognizing. In the source code is only an empty img tag visible.
Is there a way I can work around this or is there a fix already?