On 08/26/2018 10:15 PM, Leif Halvard Silli wrote:
When Ctrl-Clicking a image and then selecting 'Choose image', one gets a
dialog window which (somewhat consusingly) contains two URL fields. The
second URL field shows how the inserted URL is transformed.
There are also two radio buttons which allows to choose between 'copy
to' or 'reference as'.
Now, if you want to insert http://example.com/image and your want this
image to also be referred to, in the document, the same way (namely as
http://example.com/image ), you cannot simply paste that URL into he
upper URL field (the 'source' URL field). You must as well get/place the
same URL in the bottom URL field.
So how to do that?
It turns out that a click on the 'Reference as' button will place the
URL in the bottom field as well. (Until I - while writing this message -
found out, I thought I had to first click on the 'copy to' button, and
then on the 'reference' button. But now I see that I can click the
'reference to' button straight away.)
OK.
But why not, by default, let the URL in the upper field be automatically
be reflected in the bottom field.
This is already always the case, provided that you use one of the 2
"Choose file" buttons. See attached screenshot.
Moreover the "Reference As" toggle is selected by default. This
corresponds to what the user will want to do most of the time.
For this behavior, there should
perhaps be added a new, default button which says "default'. When this
button is selected, the lower/bottom field is automatically kept in sync
with the upper field.
The "Choose Image" dialog box is a useful, powerful, tool which, for
example, lets the user 1) upload a copy of an image to the remote server
where the document is stored and 2) then automatically reference the
uploaded copy.
The price to pay for this powerful function is that this dialog box
indeed requires some getting used to (e.g. the two URL fields).
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support