"Update the reference to the image" doesn't update the reference?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
ckabstein
Posts: 142
Joined: Fri Apr 24, 2015 12:28 pm

"Update the reference to the image" doesn't update the reference?

Post by ckabstein »

Hello,
In the documentation (https://www.oxygenxml.com/doc/versions/ ... -menu.html) it says:
Save image as
Available when the contextual menu is invoked on a local, external, or embedded image. This action opens a dialog box where you can choose a location in the local file system where the image will be saved. It also includes an option (Update the reference to the image) that can be toggled to choose whether or not to update the path in existing references to the image.
Could it be that the "Update the reference to the image" setting does not work properly? Only the path to the image that I save in a different location is changed. Any other paths to the original image in the same or in other topics are not changed. And the original image remains in also in its original location so that it is now saved twice. Is that intentional, or did I just misunderstand the concept behind this option?
Thanks,
Christina
oXygen XML Editor 25.0 build 2023013006
DITA OT 3.7.3
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: "Update the reference to the image" doesn't update the reference?

Post by Radu »

Hi Christina,

Yes, this is how the "Save image as" works, it's not a "Rename image file name in the entire project" kind of thing, it's more limited, useful more when for example the reference is to an image on the web and I want to save it locally.
To rename/move an image, a topic, map or some other resource and have all references updated, you can do that in the Oxygen Project view once the DITA Main Files support is enabled:

https://www.oxygenxml.com/doc/versions/ ... files.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
ckabstein
Posts: 142
Joined: Fri Apr 24, 2015 12:28 pm

Re: "Update the reference to the image" doesn't update the reference?

Post by ckabstein »

Thanks Radu, for clarifying this.
Best rgds,
Christina
oXygen XML Editor 25.0 build 2023013006
DITA OT 3.7.3
Post Reply