# Immagine rotta in Discourse (ma funzionano nell'anteprima del messaggio)

**URL:** https://meta.discourse.org/t/broken-image-in-discourse-but-they-work-in-the-message-preview/90429
**Category:** WordPress
**Created:** [21 Giugno 2018, 10:39pm UTC](https://meta.discourse.org/t/broken-image-in-discourse-but-they-work-in-the-message-preview/90429 "2018-06-21T22:39:42Z")
**Posts on this page:** 1
**Showing post:** 26

<div class="post-metadata">

### Author: ![copymonopoly](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@copymonopoly](https://meta.discourse.org/u/copymonopoly)
#### Post date: [14 Gennaio 2025, 8:45am UTC](https://meta.discourse.org/t/broken-image-in-discourse-but-they-work-in-the-message-preview/90429/26 "2025-01-14T08:45:50Z")

</div>

Le immagini corrotte erano originariamente archiviate sul server. Ho risolto questo problema utilizzando `migrate_to_S3`, ma ho riscontrato un nuovo problema.

> [@A bug when files were migrated to S3](https://meta.discourse.org/t/a-bug-when-files-were-migrated-to-s3/346954):
>
> I encountered a problem that is the opposite of what is described in this content.In fact，all files, including images, have the Content-Disposition set to attachment, causing the files to be downloaded.

---

_[View the full topic](https://meta.discourse.org/t/broken-image-in-discourse-but-they-work-in-the-message-preview/90429)._
