+ 2
How can I export an image from my gallery to the HTML script? Как я могу вставить изображение из галереи в мой HTML скрипт?
11 Réponses
+ 3
i don't think that's possible.
upload it into drive then do that:
In HTML, images are defined with the <img> tag.
The src attribute specifies the URL (web address) of the image:
<img src="url">
+ 5
try..
but usually .jpg is work well..
+ 3
OK, thanks for the answer.
+ 3
I uploaded my image to Google Drive and left the URL at the "img src" tag. But when I run the code it shows me image icon but not the image.
+ 3
Is that image corrupted or something?
+ 3
to know that try to upload it as a .jpg then try and tell me..
+ 2
can you pls insert your code here?!
+ 2
The result is the same.
https://code.sololearn.com/WmvFJs5rqi8d/?ref=app
+ 1
Maybe I should try to upload it as a .png file?
+ 1
If you use phone or tablet you have to hold the image and then you can copy right url and if you use computer i think you have to click right button on your mouse and then copy the url . Im working on a tablet so it may not work on computer