+ 16
asking is not ignorance. Remind me again, how to upload pictures in sololearn and use them in my codes?
I think I asked something like this before, but I didn't get answers that satisfied me. I need to know in details, step by step if possible. hope you will take it serious and help this person.
6 ответов
+ 14
hi optimist, if you couldn't get a satisfying answer, then it's only right to ask until you get your answer. if you couldn't understand we're responsible too, because we couldn't explain well.
the thing is, you can't upload pictures to sololearn for use in your code. because sololearn doesn't support this. you can't use images stored on your phone or computer neither. what you can do is to use images which are on the internet.
1. you can use an image that is already available on the internet. just open the image you want to use in a new browser window ( right click on the image and select "open image in new window/tab") and copy the addreess of the image from the address bar and paste it to the "src" attribute of your image tag.
or 2. you should upload the image you want to use to an image server, a web page where you can store and view your images. follow the same procedure there: copy and paste the url to your src attribute.
or 3. a post/tutorial showing how to use dropbox for content by Mickel Sanchez.
https://code.sololearn.com/WW6t4B73kJVz/?ref=app
https://www.sololearn.com/discuss/1054246/?ref=app
+ 10
step 0) upload your image to some web service, for instance to dropbox (check out the attached link for instructions)
step 1) obtain the uploaded image url address
step 2) add an image element:
<img src="<your url>" />
OR
use javascript ==> {
var myImage = new Image();
myImage.src = <your url>
}
step 3) ...... ?_? ........
step 4) extreme wealth and prosperity
https://www.sololearn.com/discuss/1054246/?ref=app
+ 5
@Michael thank you so much
+ 2
Try this:
https://code.sololearn.com/WW6t4B73kJVz/?ref=app
You can get the Dropbox app on your phone
+ 2
No problem 😀