# Support for image dimensions

**URL:** <https://talk.commonmark.org/t/support-for-image-dimensions/148>\
**Category:** Spec\
**Created:** [September 3, 2014, 11:34pm UTC](https://talk.commonmark.org/t/support-for-image-dimensions/148 "2014-09-03T23:34:51Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![mofosyne](https://cdn.commonmark.org/user_avatar/talk.commonmark.org/mofosyne/32/1438_2.png) [@mofosyne](https://talk.commonmark.org/u/mofosyne)\
**Post date:** [September 9, 2014, 9:18am UTC](https://talk.commonmark.org/t/support-for-image-dimensions/148/6 "2014-09-09T09:18:35Z")

</div>

Ah that was tackled in that genetic syntax thread as well Sam. Basically it can be thought of as “syntactic sugar” and auto converted to the full `{}` form internally.

[http://talk.commonmark.org/t/consistent-attribute-syntax/272/22?u=mofosyne](http://talk.commonmark.org/t/consistent-attribute-syntax/272/22?u=mofosyne)

Here is a copy of the relevant section:

### Embedded Media

```
!mediaType[description](url){#myId .myClass key=val key2="val 2"}

```

- assumed to be image if mediaType left blank

- syntactic sugar ( content of `()` handled by mediaType handler/extension):

---

_[View the full topic](https://talk.commonmark.org/t/support-for-image-dimensions/148)._
