# How to force update theme preview image?

**URL:** <https://forum.shopware.com/t/how-to-force-update-theme-preview-image/99058>\
**Category:** Themes & Design (EN)\
**Created:** [23. März 2023 um 10:29 UTC](https://forum.shopware.com/t/how-to-force-update-theme-preview-image/99058 "2023-03-23T10:29:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![magnus](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/magnus/32/13222_2.png) [@magnus](https://forum.shopware.com/u/magnus)\
**Post date:** [23. März 2023 um 10:29 UTC](https://forum.shopware.com/t/how-to-force-update-theme-preview-image/99058/1 "2023-03-23T10:29:15Z")

</div>

Hey  
I have a preview image for my custom theme, visible at Content \> Themes. I have now changed the image but I still see the old version.

Have run cach:clear and theme:refresh - but still the old one. I have checked with several browsers, so I don’t think its a browser issue… 🤨

How can I force an update of the theme preview image? Is is safe to delete the content of „preview\_media\_id“ for this theme (database table: theme)?

UPDATE: I tried to delete this, but it was then not possible to save the table.

/ Magnus

---

<div class="post-metadata">

**Author:** ![Gendai](https://avatars.discourse-cdn.com/v4/letter/g/a9a28c/32.png) [@Gendai](https://forum.shopware.com/u/Gendai)\
**Post date:** [24. März 2023 um 11:27 UTC](https://forum.shopware.com/t/how-to-force-update-theme-preview-image/99058/2 "2023-03-24T11:27:47Z")

</div>

if i’m correct the theme preview image need to by manually uploaded. It’s not ‚linked‘ to the live version of the theme. Just an image…

---

<div class="post-metadata">

**Author:** ![magnus](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/magnus/32/13222_2.png) [@magnus](https://forum.shopware.com/u/magnus)\
**Post date:** [24. März 2023 um 12:08 UTC](https://forum.shopware.com/t/how-to-force-update-theme-preview-image/99058/3 "2023-03-24T12:08:21Z")

</div>

Thanks @Gendai  
That solved the problem. Removed the preview (that dot-menu is way to small 🤨 ).

Then I did a theme:refresh and it’s now the correct image.  
I have this line in theme.json so I get an automatic preview:

` "previewMedia": "app/storefront/src/assets/aliceplaintheme-preview.jpg"`

/ Magnus
