I have created a simple display website for my Kodi database. The data for this site comes from a MySQL database.
When I use this code: (to display a cover from a Album)
<td><?php echo '<img src='.$row['url']," width='150' height='175' />"; ?>
I'll get an result of:
<img src="smb://10.0.0.61/Media/Muziek/Albums/Bryan" adams="" mtv="" unplugged="" [live]="" folder.jpg="" width="150" height="175">
As you can see the result has been hacked up and the retrieval is not possible. I was wondering what additional code is needed to retrieve the complete path and display the image. The correct path is:
smb://10.0.0.61/Media/Muziek/Albums/Bryan Adams/MTV Unplugged [Live]/Folder.jpg