# Can we move page attachments to another page?

**URL:** <https://forum.xwiki.org/t/can-we-move-page-attachments-to-another-page/7261>\
**Category:** Help / Discuss\
**Tags:** attachments, page-editing\
**Created:** [July 30, 2020, 9:06pm UTC](https://forum.xwiki.org/t/can-we-move-page-attachments-to-another-page/7261 "2020-07-30T21:06:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pdwalker](https://forum.xwiki.org/user_avatar/forum.xwiki.org/pdwalker/32/745_2.png) [@pdwalker](https://forum.xwiki.org/u/pdwalker)\
**Post date:** [July 30, 2020, 9:06pm UTC](https://forum.xwiki.org/t/can-we-move-page-attachments-to-another-page/7261/1 "2020-07-30T21:06:58Z")

</div>

I have large wiki pages with attachments (for embedded page images) that are getting too big to manage, so I’d like to break those pages into a series of smaller pages. That’s easy enough, a cut and paste does the trick

However, for the embedded images that exist as attachments to the original page, is there a way to move those attachments to the new page?

Or, do I have to link the attachmentents from the old page ot the new one?

[edit] Well, I can update all the links to point to the images on the previous page, but I’d still prefer to attach the images to the page where they are actually used.

---

<div class="post-metadata">

**Author:** ![tmortagne](https://forum.xwiki.org/user_avatar/forum.xwiki.org/tmortagne/32/4930_2.png) [@tmortagne](https://forum.xwiki.org/u/tmortagne)\
**Post date:** [July 31, 2020, 5:31am UTC](https://forum.xwiki.org/t/can-we-move-page-attachments-to-another-page/7261/2 "2020-07-31T05:31:46Z")

</div>

There is nothing in the UI to move an attachment right now, you would have to download, delete the old one, upload to the new page. But if you have a lot of those it should not be hard to do in a script.

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [July 31, 2020, 7:41am UTC](https://forum.xwiki.org/t/can-we-move-page-attachments-to-another-page/7261/3 "2020-07-31T07:41:55Z")

</div>

This is [Loading...](https://jira.xwiki.org/browse/XWIKI-1657)

---

<div class="post-metadata">

**Author:** ![pdwalker](https://forum.xwiki.org/user_avatar/forum.xwiki.org/pdwalker/32/745_2.png) [@pdwalker](https://forum.xwiki.org/u/pdwalker)\
**Post date:** [August 1, 2020, 3:57am UTC](https://forum.xwiki.org/t/can-we-move-page-attachments-to-another-page/7261/4 "2020-08-01T03:57:13Z")

</div>

That’s not really an idea way to manage it for most xwiki users.

xwiki has a really nice feature that allows you to upload and embed images easily. It’s really convenient.

If I have to manage it separately (dedicated page with related image attachments, then take the additional steps of linking to that image), it becomes a bit more time consuming and a bit more of a hassle.

Also, deleting and re-uploading is a problem if you actually care about the attachment history - in that rare case where you actually do have a history you care about.

---

<div class="post-metadata">

**Author:** ![tmortagne](https://forum.xwiki.org/user_avatar/forum.xwiki.org/tmortagne/32/4930_2.png) [@tmortagne](https://forum.xwiki.org/u/tmortagne)\
**Post date:** [August 3, 2020, 6:43am UTC](https://forum.xwiki.org/t/can-we-move-page-attachments-to-another-page/7261/5 "2020-08-03T06:43:07Z")

</div>

> [@pdwalker](#):
>
> Also, deleting and re-uploading is a problem if you actually care about the attachment history - in that rare case where you actually do have a history you care about.

Indeed, then you are left with scripting.
