# Is adding a new image class necessary for svg?

**URL:** <https://meta.discourse.org/t/is-adding-a-new-image-class-necessary-for-svg/65079>\
**Category:** UX\
**Created:** [2017 年 6 月 25 日午前 1:37 UTC](https://meta.discourse.org/t/is-adding-a-new-image-class-necessary-for-svg/65079 "2017-06-25T01:37:42Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [2017 年 6 月 26 日午後 10:02 UTC](https://meta.discourse.org/t/is-adding-a-new-image-class-necessary-for-svg/65079/12 "2017-06-26T22:02:05Z")

</div>

> [@Muiran](#):
>
> Ok, seems that I needed to specify pixels in dimensions when I exported the file.

Yeah, we require the height and width of the image, otherwise, there’s no way to know the size of the image 😉

---

_[View the full topic](https://meta.discourse.org/t/is-adding-a-new-image-class-necessary-for-svg/65079)._
