how can we insert an image to a field in code?
That mean,
file_type is a coloumn data provider.
file_type = media:///folder.png;
Is this code work?
how can we insert an image to a field in code?
That mean,
file_type is a coloumn data provider.
file_type = media:///folder.png;
Is this code work?
No, It is not Working.
How can we insert?
You want to load an image into a field? But why would you want to load the image from Servoy’s media library then?
To load an image byte array you can use the file plugins’ readFile method. The result can be put in a field.
If i want to load from the media i.e from repository.
then what i will do?