Moving Images subfolders and need hrefs to update

Questions about XML that are not covered by the other forums should go here.
zechony
Posts: 1
Joined: Mon Jun 05, 2017 4:56 pm

Moving Images subfolders and need hrefs to update

Post by zechony » Mon Jun 05, 2017 5:01 pm

Hello,

Our project consists of multiple images subfolders underneath Main Folders. We want to move all image subfolders into one master image folder at the root of the project - however we don't know if there is an easy way to do this without breaking all the hrefs?
Note: We are using relative paths so I assume ../images/name.png is relative to each of our submaps right? IF we move the maps up ABOVE the root will that work or will that break the structure.

Thanks!
Kristen

sorin_carbunaru
Site Admin
Posts: 240
Joined: Mon May 09, 2016 9:37 am

Re: Moving Images subfolders and need hrefs to update

Post by sorin_carbunaru » Tue Jun 06, 2017 10:49 am

Hello Kristen and welcome to our forum!

The DITA Master Files support [1] seems to be most suitable for your use-case. You just have to add your main DITA map as a master file, then you can move or rename resources in the Project view, and oXygen will display a window from which you can choose to update all the references.

In case you are working with a huge project (thousands of resources such as topics, images, media files and so on), you may need to increase the amount of memory that oXygen uses [2].

Let us know if you need further assistance.

[1] https://www.oxygenxml.com/doc/versions/ ... files.html
[2] https://www.oxygenxml.com/doc/versions/ ... chers.html

All the best wishes,
Sorin Carbunaru
oXygen XML

Post Reply