|Broken picture links in placemarks descriptions||macmart||5/15/12 11:31 PM|
Found earlier similar questions but no solutions so far. Here's an earlier posted sample for exactly the same issue.
I've had the same problem:
At first I thought maybe it's because I changed smth in Google Drive regarding the images and I fixed all the links, checked it – everything was just perfect, and some time later – only broken links again..
What's wrong then?
|Re: Broken picture links in placemarks descriptions||treebles||5/16/12 6:58 PM|
Could you please provide a link to one of your pictures in Drive.
A link to the map where the pictures should show would also be helpful.
|Re: Broken picture links in placemarks descriptions||macmart||5/16/12 9:59 PM|
|Re: Broken picture links in placemarks descriptions||ehg||5/17/12 2:55 AM|
I like to him both guys onto what I figured out about the broken link picture in the above provided Phraase (" Here's an earlier posted sample for exactly the same issue")
This sample refers to a really broken URL of the picture.
I took a look to the according map and it refers to this website for the "picture": http://www.kleymeyer.com/public/ut.jpg - producing error 404.
I also like to hint macmart:
your first link " here's a picture " will produce an 403 error for the below listed reason I dont know for certain - but believing its a matter of being the photo not public.
403 says: Your client does not have permission to get URL
That may explain the broken link pretty fine.
|Re: Broken picture links in placemarks descriptions||macmart||5/17/12 3:17 AM|
Well.. thanks, ehg, but I still think it's not that easy.
The sharing option of this photo is 'Anyone with the link' and even before posting the link into this forum, I tried it and it worked without logging in. (I also tried (successfully) the sharing options in the first place when publishing it into the linked map (to do that I open the map in another browser where I'm not logged in as a Google user)). However, now I get the same error message even when I'm logged in.. That must be because the link isn't the same anymore.
I initially posted a link like this https://docs.google.com/file/d/0B4QAzmE5Kr5OVWZjTzFjZzlPTnc/edit?pli=1 .
|Re: Broken picture links in placemarks descriptions||ehg||5/17/12 3:25 AM|
@macmart the new link you provided in your last answer isn't a valid link to a picture FILE. Its a link to the website showing the picture on a website.
The URL to the picture itself is this one here:
And this link is indeed public. Therefore try this for embedding onto your marker on a map.
|Re: Broken picture links in placemarks descriptions||macmart||5/17/12 3:38 AM|
oh.. sorry! My mistake, of course!
However, I know that I didn't do the same mistake in the map (otherwise I would have never seen any pictures in there, right). And I also didn't do the mistake in the initial post.. And: I'm also not able to open the link you provided, ehg (Error 403 again!) So how and why does the image's URL keep changing itself..
at current moment it already looks like this :) https://lh4.googleusercontent.com/AWg6Jsct_z6kDqrDkp1Ri2XEfJhjpa9Ojtl18FSsQZZ6REBNZyH4kOT0cnwc1Ru3OzQaNMKLH_w
I'm sure I didn't change anything in the sharing settings nor even copied the URL again after my last update in the map, however, a day later it was not working..
|Re: Broken picture links in placemarks descriptions||ehg||5/17/12 4:27 AM|
macmart, thats your original map isn't it?
It already shows the broken links do you agree?
Means it isn't any matter of the embedding procedure on your drive page.
I took a look to only one of the items of the map - the shape "Kohutav läbu"
it contains the following html coding:
<img src="https://lh6.googleusercontent.com/p9AGmvgzUbS829EbF1I_uSfPLhIHrB9rf29Z6aHBkNER1G331TLFQiWLme1fr7L7dBJSrpF3RTs" style="width:242px"><br><div><img src="https://lh3.googleusercontent.com/r8fr_5cea02HBKLNSBi3MRIauTGiIAy5yR4htNdKKKApAdN61ZrM7qQabANlSH2M9z8iwPwkyZU" style="width:242px"></div>
This coding is inteded to show two pictures - but again doesn't point to any accessible picture files.
The coding contains two URLs:
- both giving me and surely treebles also a 403 error as already mentioned earlier from me in that thread.
Not sure what you entered while specifying the shape "Kohutav läbu".
If this not have been either of both bad above URLs I would like too know what exactly you tried specifying the shape?
Please enlighten me and lets restrict for a moment the thread on just the one shape in the one map.
I believe this helps to solve your porblem.
Best Regards and greetings to Estonia from Germany
|Re: Broken picture links in placemarks descriptions||treebles||5/17/12 5:33 AM|
I agree with ehg, it seems to be a permission problem, code 403 means the client, us , is forbideen from accessing the resource, your picture in this case.
You should check the sharing permission for the image and the folder containing it.
|Re: Broken picture links in placemarks descriptions||macmart||5/17/12 5:35 AM|
OK. So lets take the 'Kohutav läbu' (although it's nothing nice :)
I've fixed it now and I'm pretty sure the two images are now visible in the original map as well as in the embedded one. No matter where or who is trying to look.
And let's put the links here as well:
So it works(?)
Now, if it's not a Murphy's law, then tomorrow the latest, we should see only broken links again. I will only make sure I'm not touching the images meanwhile..
Mit freundlichen Grüssen.. ;)
|Re: Broken picture links in placemarks descriptions||ehg||5/17/12 6:01 AM|
nope!!! Doesn't work & today already not working.
Don't need to wait til tomorrow:
both links to the pictures are still broken. I always get 403 for both URLs on my end
|Re: Broken picture links in placemarks descriptions||ehg||5/17/12 6:02 AM|
where did you host the pictures & what platform?
In case it is Picasa are you sure you made the album public?
|Re: Broken picture links in placemarks descriptions||ehg||5/17/12 6:05 AM|
just give following steps a try: sign out from your GoogleAccoutn and enter in the same Browser tab either of both URLs
I bet you will get the 403 error too
|Re: Broken picture links in placemarks descriptions||macmart||5/17/12 6:16 AM|
Logged out but the links still worked for me as well as the maps (whereas I, of course, were not able to access Google Drive in general at that time).
All these images are in my Google Drive and shared to 'Anyone with the link' which you once were able to access as well, right?
|Re: Broken picture links in placemarks descriptions||macmart||5/17/12 6:20 AM|
oh.. but still didn't need to wait for tomorrow. Now I already get broken links again. No matter if logged in or not.
|Re: Broken picture links in placemarks descriptions||ehg||5/17/12 6:22 AM|
sounds very strange.
Now I'm not anymore able to get the link you posted 8 hours ago (ahvee been able two hours ago)
("OK, here's a picture in my Google Drive and here the map where, under the bus stop, the same should be visible (and also has been visible for a while).")
I still can get here the map as it is a website in GoogleSite
@Treebles any more ideas?
|Re: Broken picture links in placemarks descriptions||ehg||5/17/12 6:25 AM|
seems the part of your GoolgeDrive containing the website with the map is public while the folder of the photos are not.
|Re: Broken picture links in placemarks descriptions||ehg||5/17/12 6:40 AM|
I took a look to my own Drive Account (https://drive.google.com/#home)
There are some phots listed too. they are marked as "shared". Going to embedd one of it in a sample map now.
Can both of you click the one placemark in it checking the photo (a screenshot I have hosted earlier) is visible as below:
|Re: Broken picture links in placemarks descriptions||macmart||5/17/12 6:43 AM|
I see your map but not the image in the placemark description.
|Re: Broken picture links in placemarks descriptions||ehg||5/17/12 7:27 AM|
ok, and do you see the image if clicking its URL here?
|Re: Broken picture links in placemarks descriptions||macmart||5/17/12 7:33 AM|
Nope. Error 403.
|Re: Broken picture links in placemarks descriptions||ehg||5/17/12 8:08 AM|
nice catch we made all together regarding hosted pics on GoogleDrive (or in my case on the former GoogleSites)
Let me internal discuss with treebeles how to continue.
The workaround you could consider trying for your map "Kulna küla" using Picasa or any other platforn to host your photos for the placemarks, shapes and lines.
You & me have learned the problem isn't related to GoogleMaps at all but getting an 403 error for this photos hosted on Drive (or in my case on the former sites)
But I have to run going to a theater soon.
Please stay tuned for any news treebles or me will post here.
|Re: Broken picture links in placemarks descriptions||macmart||5/17/12 8:35 AM|
Yes, that seems a perfectly correct conclusion – it's Google Drive's problem rather than Maps'. So maybe the whole topic should be closed here or smth..
Could it be related to the recent (or still ongoing) transfer from Docs to Drive..(?)
Meanwhile I did make a workaround as suggested and I suppose the map works fine(?)
Thanks a lot for the effort!
And have nice theater experience, ehg!
|Re: Broken picture links in placemarks descriptions||ehg||5/17/12 2:48 PM|
yes the map now shows the photos correctly on my end too.
Its obviously an issue of correct linking photos hosted on GoogleDrive.
|Re: Broken picture links in placemarks descriptions||★GA★||5/18/12 8:30 AM|
I can't say if this is an error in Google Drive but the broken link to the image appears after a few minutes. Maybe it is wanted by Google.
Meanwhile i suggest that you upload your pictures "as attachment" into Google Sites and link them to your map.
|Re: Broken picture links in placemarks descriptions||ehg||5/18/12 8:43 AM|
hosting photos on GoogleSites as an attachment is an other workaraund as it would be hosting them on Picasa (as already recommended & macmart applied it) or any other image hosting websites - nevertheless a kind of workaround avoiding hosting photos on GoogleDrive
The question remains:
How to handle this problem and how to inform the responsible Googlers about this Drive problem maninging hosted photos?
|Re: Broken picture links in placemarks descriptions||★GA★||5/18/12 9:30 AM|
Here you can find the solution:
|Re: Broken picture links in placemarks descriptions||treebles||5/18/12 9:51 AM|
I do not use Google Drive so I cannot comment on the specifics of obtaining a link for a picture from your Google Drive interface, but I would like to make a few general comments that I hope may shed some light on the problem and maybe point to the cause of the problem in Google Drive.
Since the introduction of Google + Google changed the way images are stored for all Google products, they are stored on Picasa Web Album. You only have one quota for pictures on all Google products that are managed through Picasa Web Albums (I think they are renamed Photos for accounts with Google + enabled)
The link you provided for the picture is not a picture link
although it is a Picasa link, I suspect that it might be the page either for the web album, or the Picasa page containing the picture, but it is not definitively the picture's link.
Picture links should end on a file name with a valid image extension like .jpg or .png.
I cannot give you specific advise about Drive, and maybe there is something wrong with the way Google setup sharing pictures through Drive, but I would advise you to visit your Picasa account and check if Google has stored the picture in question there in some album.
If you find it there, open the picture page and get the link as indicated on this picture.
You have to make sure that the album containing the picture is not set to private (only you).
|Re: Broken picture links in placemarks descriptions||ehg||5/18/12 1:12 PM|
Hi treebles, your general remarks sound very reasonable. It also might explain why macmart and me observed the links "unbroken" for a short time getting it then later as a "broken link to the image appears after a few minutes" (as *GA* mentioned in his first answer)
Didn't know all pictures "hosted" on GoolgeDrive are infact hosted on Picasa only (apparently implicite???).
Nevertheless *GA" linked to a German thread I didn't understand it.
So I got more specific hints from him as how we should understand and use it:
Its like a hacker trick we know & use it bit similar in GoogleMaps for rendering a multipaged map in a "all-in-one-view" (adding "output=kml at the end of the URL and the letting GMAPs "search for this URL)
The hacker trick *GA* was referring too for any hosted photo on GoogleDrive is intendet to get/obtain a permant working URL and this permanent URL is applicable for embedding onto a marker of a map of "MyPLaces" too:
Let me explain what I understood from *GA* on a sample:
We start on GoolgeDrive: https://drive.google.com/#home
clicking then any of the listed photos we get its DrivePage (not the image only) and its URL should look like:
"https://docs.google.com/file/[identifier]/edit" or "https://docs.google.com/file/[identifier]/edit?pli=1"
now lets create a new URL based on [identifier]:
It looks very strange but using this created URL works permanent.
I have applied this hack in a sample map of my GMaps account. In the map the blue marker was created using the hack referenced by *GA* while the green marker instead is created using the "old" known method rightclicking the link in GoogleDrive.
You can see the hack for the blue marker works like a charm while the link in the green marker is broken.
Greetings to all of you guys and especially for *GA* for his useful hints about the "trick".
|Re: Broken picture links in placemarks descriptions||treebles||5/18/12 1:40 PM|
could you provide a link to a publicly accessible picture through your Drive folder?
The green marker is not a link to a picture, I have no idea what it is, but it looks like a Picasa link, just not to a picture.
Can you see your pictures hosted in your Drive folder also in your Picasa account?
|Re: Broken picture links in placemarks descriptions||ehg||5/18/12 2:01 PM|
sure treebles: there are two being the base for my sample map of my GMaps account.
https://docs.google.com/file/d/0B1auVcBx-g-bXzF6ZG0xV2tBTUE/edit?pli=1 (the source for photos in the green marker)
https://docs.google.com/file/d/0B1auVcBx-g-bNjN0TGc3V0x0b00/edit?pli=1 (the source for photos in the blue marker)
And you see the blue one works like a charm while the photo link in the green marker is broken and as you see it is created using a link as it was used similar by macmart on his map too ()before he went hosting his photos on Picasa directly.
It s for my green marker this URL:
And of course this URL it is broken
But obviously broken for the reason you and *GA* explained: I have "extracted it rightcking the visible photo in https://docs.google.com/file/d/0B1auVcBx-g-bXzF6ZG0xV2tBTUE/edit?pli=1
Note if you do this now the extarcted URL will look differently. Already macmaret mentioned this: each time (after a time) you try to re-extract the URL from a opened photo sub site of Drive like this https://docs.google.com/file/d/0B1auVcBx-g-bXzF6ZG0xV2tBTUE/edit?pli=1 you will get a new URL. This URL works fro few minutes and then gets broken.
Hope have made it more (un)clear? ?? ;-)
|Re: Broken picture links in placemarks descriptions||ehg||5/18/12 2:24 PM|
should have mentioned: I now and knowing "the trick" *GA* explained me would be able to edit the green marker to show the photo as in
https://docs.google.com/file/d/0B1auVcBx-g-bXzF6ZG0xV2tBTUE/edit?pli=1 (the source for photos in the green marker) as well.
I however will not do this today evening anymore.
Maybe I will tomorrow create an additional red marker containing the photo as in https://docs.google.com/file/d/0B1auVcBx-g-bXzF6ZG0xV2tBTUE/edit?pli=1