[TYPO3-german] Redakteur SVG Bilder ermöglichen

Christian Welzel gawain at camlann.de
Fri Aug 28 09:45:55 CEST 2015


Am 27.08.15 um 12:02 schrieb stefan sajok:

> Es werden bei TYPO3 6.2.14 keine SVG Dateien im Frontend angezeigt. Hat
> jemand schon eine Lösung gefunden?

Das Problem liegt an deinem imagemagick/graphicsmagick.
Bei einigen Providern sind diese Pakete ohne Unterstützung von SVG
kompiliert, was dazu führt, dass Typo3 denkt, dass das Bild 0px x 0px
gross ist. Deswegen steht im Frontend width=0 height=0.
Ich habe das bei mir dann so gelöst, dass ich im CSS ein
img[width=0] { width: auto !important; }
img[height=0] { height: auto !important; }
eingebaut habe, was das Problem global behebt.


-- 
  MfG, Christian Welzel

   GPG-Key:     http://www.camlann.de/de/pgpkey.html
   Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15


More information about the TYPO3-german mailing list