Resolving an imageSource object reference

hh hh at hyperhh.de
Tue Sep 6 16:21:33 EDT 2016


> Jeanne DeV. wrote:
> I need to take an imageSource (short ID or short name) and
> figure out  a full object reference to the image in question.

If I understand your question correctly:

The HTMLtext of the field holds the source info
that is used to set the imageSource. 

For example <img src="Hello" char="J">
or <img src="4711" char="D">.
or <img src="/path/to/imgfile" char="V">.

You can now
"get the imageSource of char 3 of field 1",
what may result in a name, an id or an imageURL. And
you have to deduce from that a full object reference
(AFAIK there is no built-in-way to do the latter,
"resolve image" does similar things for icons and
patterns of objects).




More information about the use-livecode mailing list