Revolution: Svg support for image TV preview

Created on 18 Jul 2017  路  5Comments  路  Source: modxcms/revolution

Summary

The image TV preview does not support svg.

Step to reproduce

Add "svg" to the system setting "upload_images" and your media source's "imageExtensions" setting.
Upload and choose a svg in your image TV.

Observed behavior

The image TV preview does not show (a preview of) the svg.

bildschirmfoto 2017-07-18 um 19 09 41

Expected behavior

The image TV preview should show (a preview of) the svg.

Environment

MODX 2.5.8-dev
Apache/2.2.29 (Unix)
PHP 7.0.8

type-frontend bug

All 5 comments

Not sure if I understand? Did you create this because no issue was posted about SVG preview in the manager? Or did the PR not work?

The referenced PR only fixes SVG support in the MODX Browser and the Files Tree - not for image TVs. If the PR gets accepted, this could/should/will be a new issue.

But I guess I got something wrong about referencing PRs and issues...

Ah, okey. That is fine. This should be there then, as this is separate. Good work :)

Was this page helpful?
0 / 5 - 0 ratings