Redaxo: REX_MEDIA / REX_MEDIALIST: SVG ausgeben.

Created on 10 Aug 2016  路  4Comments  路  Source: redaxo/redaxo

REX_MEDIA und REX_MEDIALIST zeigen das Fehlerbild, wenn preview=1 und als Datei ein SVG gew盲hlt wurde.

image

Bug

All 4 comments

F眉r die Preview wird ein Mediamanager-Typ verwendet. Bei SVG sollte einfach die SVG ausgespuckt werden.

Gerade wieder in die Falle getappt, diesmal 眉bers Frontend.

ImageMagick kann svg in PNG
convert -density 1200 -resize 200x200 source.svg target.png

@skerbis siehe https://github.com/redaxo/redaxo/commit/a5923d39dd61ae78a642c11312d00423a1bfae60#commitcomment-18059374
@dergel hatte das mal angefangen, aber erstmal wieder abgebrochen. Daher fangen wir die SVGs erstmal hartkodiert ab. In der Preview der MediaButtons fehlte es allerdings noch.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rokitole picture rokitole  路  4Comments

staabm picture staabm  路  4Comments

tbaddade picture tbaddade  路  4Comments

alxndr-w picture alxndr-w  路  3Comments

skerbis picture skerbis  路  3Comments