0
Please anyone tell me how to find image path from photos app or other file manager for html.
Hello! I have paste link in image tag but picture not show. Please see html file and tell me how to fix it. https://code.sololearn.com/Wuzw7rqh1eWr/?ref=app
7 Respostas
+ 3
The Secret Of My
You can edit your question no need to create another one
https://www.sololearn.com/Discuss/3056427/?ref=app
+ 2
The Secret Of My
Use DropBox Google share path will not work here.
https://code.sololearn.com/WW6t4B73kJVz/?ref=app
0
The problem is that you have a shortened link that redirects to a generic *Web page* of Google Photos that takes several arguments in the URL that determine what image (file) to load along with its details using a script... If it is complicated, do not worry, the only thing that is important here is that you have a link redirecting to a Web page that has been specialized for your image. It is not a link to the image file itself, but an HTML file.
To solve this, there are two ways.
The first way is kind of hacky, and I am not sure how long will the link be accessible, but it seems to work right now. It is to go to that page yourself, long-tap/right-click the image and go to the page the image is linking to. Then, you, again, select the image and select the option similar to "view the image" or "open in new tab". Next, if the latter was done successfully, you have got a secret/system link to the image itself (of type "https://lh3.googleusercontent.com/pw/..."). You can copy-paste the URL onto your Web page.
0
[2/4]
>Note: it is not necessarily like that for you as well, especially if we have different devices and/or browsers.
>Note: there should be "s[number]" in the final URL. You can change the number to get your picture in other resolutions (in pixels).
It all might possibly be done simpler if you have a better understanding of HTML: by viewing the source code of the page the original link redirects you to, or by opening it and using something like "Inspect Element".
There is also another way. As you can already see, Google Photos website is not specialized for the purpose you have. But there are other services more specialized in this. There is a plenty of other image hosting websites. I am personally most familiar with ImgBB, where you can specify image auto-deletion time (if needed) and see different pre-built ways to embed your image (including full-size and smaller thumbnail formats for HTML) after you upload it.
0
[3/4]
Dropbox is a general file hosting services where it is easier to get your file's real URL. There are several codes on Sololearn and many answers to "How to upload a image"-type questions explaining the whole process from uploading your file to embedding the link where you want to use it. I personally would recommend checking the codes first, because they are more like a complete tutorial due to absence of character limit and ability to provide images to the text, whereas many answers are text-only and shortened. If you are not able to find them, search that question in the Discuss tab and search for an answer that contains the links to those codes.
About other file managers, some of them is covered before, and some of them remains uncovered in my answer because I do not know what exact file managers you are referring to. I only give examples that are based off on my experience.
0
[4/4]
>Note: if you refer to local file managers then they most probably give you access to a local copy of an image which is stored on your device instead of Internet and thus can be used only locally on your device, unless it is a PC or laptop and you make it function as a server. Do not worry, though, Google Photos and the services I have mentioned in my answer store your file on the Internet, so it is not a problem in those cases; I said it just as a precaution and a part of a possible variation of the answer to your question.
0
I think at first you should put image tag between body tag and also use right format i mean at the end of url has suffix like jpg or png and so on