0

How to find url of an image if it's downloaded in my phone because I want to add background img??<solved>

6th Jul 2021, 7:09 AM
Anand Raj
Anand Raj - avatar
17 Respostas
+ 4
Anand Raj yes you should upload your image (or get the url of an already available image on internet) Ayush to be able to share your image from public ip (not possible with private ip, or only for your local network), you must have a fixed public ip and allow access from outside in your router: that's not easy and not advisable, as your image will only be reachable when your device is connected to internet and from the same access point... shortly: it's not advisable nor easily doable ;P
6th Jul 2021, 7:22 AM
visph
visph - avatar
+ 2
if you don't care, use a file explorer to get the file:// protocol url
6th Jul 2021, 7:14 AM
visph
visph - avatar
+ 2
In mobile:- Go to browser, then download section, open img file, long press on image name on top, a pop up for link copied will pop confirm url copied. In browser:- Search image, long press on image, select copy link address, url copied Or After long press, select open image in new tab, go to new tab opened, click on url bar of that new tab, copy url by long pressing on it.
6th Jul 2021, 10:38 AM
Divya Mohan
Divya Mohan - avatar
+ 1
you must upload it on internet if you do not want to be the only user with the only device able to display that image ^^
6th Jul 2021, 7:13 AM
visph
visph - avatar
+ 1
on internet (by using an image host) you get the url when you upload the image...
6th Jul 2021, 7:15 AM
visph
visph - avatar
+ 1
I think online link of any image is better than downloaded image file ...it reduce the space and time complexity of ur program code ... Now choice is yours if you want attach online link of image then right click on any online image file and select option of copy url and paste it on your image href attribute and ...if you want to put your downloaded image then simple way is copy your image file and paste it into your html project folder and then simply use the name of image on href attribute of img tag ... you can make another folder of images in your project folder then use link like this....folder name/image file name in href attribute
6th Jul 2021, 7:50 AM
Rajesh Thapa
Rajesh Thapa - avatar
+ 1
Firstly,, download it from "google Chrome ,,or you wanted from ..." so, then its come in your "drive" you got a notification ,,.. then open it and copy the source then paste it in your code😀👍
6th Jul 2021, 10:05 AM
KashishAggarwal
KashishAggarwal - avatar
+ 1
Just upload the image to googledrive and then get sharable link which will act as url .make sure to set the image to public in googledrive sharable link
6th Jul 2021, 10:42 AM
Frank J Abel
Frank J Abel - avatar
+ 1
You can just enter the directory of the image that you want to set as background image like. body { background-image:url ('/storage/emulated/0/image.jpg');} But remember that your enter the perfect file path/directory.
8th Jul 2021, 4:38 AM
Onan Basnet
Onan Basnet - avatar
0
Visph and how to find url of image on internet
6th Jul 2021, 7:14 AM
Anand Raj
Anand Raj - avatar
0
But how to find url of image from internet
6th Jul 2021, 7:15 AM
Anand Raj
Anand Raj - avatar
0
It means I have to upload a image to use it on html
6th Jul 2021, 7:16 AM
Anand Raj
Anand Raj - avatar
0
Yes
6th Jul 2021, 7:17 AM
Anand Raj
Anand Raj - avatar
0
u can copy it to ur pc or u can use the link from where you have downloaded the picture
7th Jul 2021, 8:12 AM
Patnala Venkatesh
Patnala Venkatesh - avatar
0
downloaded in your phone? if you can open it in your photo gallery, check details. it should show you where exactly the file is
8th Jul 2021, 1:24 AM
Kenneth Azor
Kenneth Azor - avatar
- 2
https://play.google.com/store/apps/details?id=io.kodular.bhaveshguptaink24.photo_to_link Hi dude you can download this app photo to link converter in this app just select your image and it will generate url of your image and then you copy and paste it in code.
7th Jul 2021, 3:05 AM
PRIYANSHU
PRIYANSHU - avatar
7th Jul 2021, 1:47 PM
Abhinandan Prasad