# How to enable SVG for php-imagick

**URL:** <https://help.nextcloud.com/t/how-to-enable-svg-for-php-imagick/108646>\
**Category:** 🏷️ General\
**Tags:** not\_nc\_related\
**Created:** [February 22, 2021, 3:20pm UTC](https://help.nextcloud.com/t/how-to-enable-svg-for-php-imagick/108646 "2021-02-22T15:20:10Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![j-ed](https://help.nextcloud.com/user_avatar/help.nextcloud.com/j-ed/32/7281_2.png) [@j-ed](https://help.nextcloud.com/u/j-ed)\
**Post date:** [February 22, 2021, 6:26pm UTC](https://help.nextcloud.com/t/how-to-enable-svg-for-php-imagick/108646/2 "2021-02-22T18:26:22Z")

</div>

SVG support is disabled by default due to security concerns as described here. It also explains how you can enable additional formats:

[https://docs.nextcloud.com/server/17/admin\_manual/configuration\_files/previews\_configuration.html?highlight=svg#previews-configuration](https://docs.nextcloud.com/server/17/admin_manual/configuration_files/previews_configuration.html?highlight=svg#previews-configuration)

> **[nextcloud/viewer](https://github.com/nextcloud/viewer)**
>
> 🖼 Simple file viewer with slideshow for media. Contribute to nextcloud/viewer development by creating an account on GitHub.

See also:

> **[r/NextCloud - Displaying SVGs rather than downloading them](https://www.reddit.com/r/NextCloud/comments/b94pp1/displaying_svgs_rather_than_downloading_them/)**
>
> 7 votes and 4 comments so far on Reddit

---

_[View the full topic](https://help.nextcloud.com/t/how-to-enable-svg-for-php-imagick/108646)._
