Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic 6) Display picture inside node using database image. (Read 1133 times)
Shafi
Full Member
***
Offline


I Love MindFusion!

Posts: 109
Joined: Nov 8th, 2016
6) Display picture inside node using database image.
Dec 27th, 2017 at 6:56am
Print Post  
We have image on disk, How to store it in database and applied database stored image on node using Angular 2?
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3152
Joined: Oct 19th, 2005
Re: 6) Display picture inside node using database image.
Reply #1 - Dec 27th, 2017 at 8:30am
Print Post  
You could store images as binary blobs in database, create a service that returns image data in response to "HTTP GET service_image_url" requests and assign that URL to nodes' ImageLocation property. Alternatively you could return base64 strings and assign them as in https://mindfusion.eu/Forum/YaBB.pl?num=1511255550/1#1
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint