magnus
1
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
Gendai
2
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…
magnus
3
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