How can you use a relative URL for an image file inside documents vs hard coding the document ID in HTML?
I have an org to spin off templates that use images with the src linked to the document ID, like so
src="/servlet/servlet.ImageServer?id=123ABC&oid=456XYZ/" but the problem is when I create a spun org, the images are broken because the id and org id are different.
Is there a more relative way of linking the document src via HTML? something like
It's outside Visualforce unfortunately so I can't apex it.
If this is impossible, please let me know too, and why. Alternatives also welcome, like how to use static resources as user-friendly link in HTML (not Visualforce).