Hi Ortwin,
Thanks.
The embedded image would do the trick. The problem is that the image can be
selected by the end-user, and that image can get quite big. And then, drawing
or refreshing the SVG will be very, very slow.
Regards,
Rudy Mortier
Two Way Communications bvba -
Thanks Keisuke.
I will need to find a way of storing the picture files in the database and
extracting them and writing them to a file when needed.
I especially have some concerns when working in client-server mode.
Regards,
Rudy Mortier
Two Way Communications bvba -
> On
> The thing is that the SVG is actually an interactive map.
>
> So when I load the SVG from a blob field, then where does it go to find the
> file with the relative path ‘../Image.jpg’ ?
if the SVG is displayed in a webarea, save the SVG to disk in a location
appropriate to the relative path
unless there is a way to define the base URL,
I don't think it is possible to specify relative paths in SVG which is itself
not a file on disk.
my guess would be that the path is considered a name,
searched in the current directory of the executable.
unless the SVG is a file on disk,
I think
Hi Keisuke,
Ok, that puts it into perspective ;-)
The thing is that the SVG is actually an interactive map.
So when I load the SVG from a blob field, then where does it go to find the
file with the relative path ‘../Image.jpg’ ?
Regards,
Rudy Mortier
Two Way Communications bvba
the doc could have been worded better, I suppose.
relative path means relative to the SVG image file.
the doc assumes your SVG is itself inside the Resources folder, in fact at the
top level.
> 2017/08/09 18:55、Two Way Communications via 4D_Tech <4d_tech@lists.4d.com>
> のメール:
> No, it isn’t.
Hi Keisuke,
No, it isn’t. It is created with ’SVG_New’.
The picture is inside a folder ‘Map_pictures’ inside the database folder.
When I use either the full path to the picture file, or embed it inside the
SVG, the picture shows.
But for obvious reasons I want to use a relative path. I have
is your SVG image itself a file inside the Resources folder?
> 2017/08/09 2:45、Two Way Communications via 4D_Tech <4d_tech@lists.4d.com>
> のメール:
> However, if I put this inside the xlink:href attribute of the image, it does
> not show up in the SVG.
8 matches
Mail list logo