> ## Documentation Index
> Fetch the complete documentation index at: https://learn.nextedy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Gallery and Attachments

> How the Nextedy MEDIAKIT gallery and Polarion's own Attachments section relate on the same work item.

export const LastReviewed = ({date}) => {
  if (!date) return null;
  const formatted = new Date(`${date}T00:00:00Z`).toLocaleDateString("en-US", {
    year: "numeric",
    month: "long",
    day: "numeric",
    timeZone: "UTC"
  });
  return <p className="mt-10 text-sm text-gray-400 dark:text-zinc-500 not-prose">
      Last reviewed on {formatted}
    </p>;
};

A work item form can show both Polarion's built-in **Attachments** section and the Mediakit gallery. They are two views of one set of files, not two separate stores.

## Same Files, Two Views

|          | Attachments section                               | Mediakit gallery                                  |
| -------- | ------------------------------------------------- | ------------------------------------------------- |
| Shows    | A table of file names, with size, author and date | Thumbnails for images, type icons for other files |
| Good for | Scanning names, sizes and dates                   | Recognising images without opening them           |
| Acts on  | Work item attachments                             | The same work item attachments                    |

Add a file in either place and it is the same attachment. Delete it in either place and it is gone from both.

<Frame caption="The same three files, shown by Polarion's Attachments table and by the Mediakit gallery below it">
  <img src="https://mintcdn.com/none-17b4493f/Q8wAleJRHSFLELej/mediakit/images/gallery-on-work-item.png?fit=max&auto=format&n=Q8wAleJRHSFLELej&q=85&s=bff399cdfdc813d3df475e631ea4df6b" alt="A work item form showing Polarion's Attachments table listing three files, with the Mediakit gallery below showing the same three files as tiles" width="2610" height="920" data-path="mediakit/images/gallery-on-work-item.png" />
</Frame>

## Whether to Show Both

That is a project decision, and both arrangements are reasonable.

Keeping both gives readers the gallery for recognising images and the table for the precise metadata — file size, author and modification date in a scannable column layout. Showing only the gallery makes for a shorter form, at the cost of that table; the same metadata is still available in the gallery's list view.

You control this per work item type when you [add the gallery](/mediakit/getting-started/adding-the-gallery) — the gallery and the `attachments` field are separate entries in the form layout, and either can be left out.

## One Behaviour to Know About

<Warning>
  **The Attachments section does not refresh when you use the gallery.**

  Polarion renders that section when the form loads. Upload or delete through the gallery and the gallery updates immediately, while the Attachments table above continues to show the previous set.

  Nothing has failed — the change is saved. Reload the work item and the two agree.
</Warning>

This is worth knowing before it surprises someone: a user who uploads through the gallery, glances at the Attachments table and sees no new row may reasonably conclude the upload did not work, and upload again.

## Related

<Columns cols={2}>
  <Card title="What Mediakit Does" icon="lightbulb" href="/mediakit/concepts/what-mediakit-does">
    The gallery as a view over Polarion attachments.
  </Card>

  <Card title="Uploading Files" icon="upload" href="/mediakit/guides/uploading-files">
    Add files, and what happens when a name already exists.
  </Card>
</Columns>

<LastReviewed date="2026-09-03" />
