+ 13

How to upload image in Sololearn app

2nd Aug 2017, 3:39 PM
Shravan K Malviya
Shravan K Malviya - avatar
4 Réponses
+ 10
You can use the url as the src attribute of an image.
2nd Aug 2017, 3:45 PM
ChessMaster
ChessMaster - avatar
+ 5
Hi shravan. Checkout d way I modified your code a bit. https://code.sololearn.com/WDFHkNXQWb0h/?ref=app
2nd Aug 2017, 5:35 PM
Lois Thomas Idzi
Lois Thomas Idzi - avatar
2nd Aug 2017, 4:04 PM
Lois Thomas Idzi
Lois Thomas Idzi - avatar
+ 3
For sololearn programs you can't put images stored on your device so you might have to use a CDN (content delivery network) to link images in the page or use data uri images by converting your images into text that HTML can display as a image.. You can convert your images here https://websemantics.uk/tools/image-to-data-uri-converter/ https://code.sololearn.com/WC54BZf4fJ94/?ref=app
4th Sep 2017, 2:18 AM
Kalo 'smi
Kalo 'smi - avatar