Setting a Parent Image ID in description field
Posted: Tue May 20, 2014 7:18 am
Dear all,
In the final report of the DMBI workgroup I found the following image:
Here an inside the image description/comment field a clickable link to another image is shown. I would like to recreate something like this, being able to link a processed image back to an original image. Setting the description field from a Python script has been no problem:
However, this does not automatically create the link as shown in the image. How has this been done, or is there any other way of linking one image to another?
Thanks,
Paul
In the final report of the DMBI workgroup I found the following image:
Here an inside the image description/comment field a clickable link to another image is shown. I would like to recreate something like this, being able to link a processed image back to an original image. Setting the description field from a Python script has been no problem:
- Code: Select all
image = conn.getQueryService().get("Image", imageId)
image.setDescription(rstring("Parent Image ID:351"))
conn.getUpdateService().saveObject(image)
However, this does not automatically create the link as shown in the image. How has this been done, or is there any other way of linking one image to another?
Thanks,
Paul