File size: 489 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# Images
Images from this folder are managed by webpack, and can be imported like this:
```javascript
import mediaPostImageURL from 'calypso/assets/images/upgrades/media-post.svg';
```
You can then use such image that way:
```javascript
<img src={ mediaPostImageURL } alt="Illustration" />;
```
Technically speaking, webpack will copy that image to the `public/images` output folder automatically, with an immutable hashed name (so this name will change if the source image changes).
|