I am trying to output the results of the CREW Street View widget as a PDF or PNG. The problem is, they only output as HTML, and I can't convert them. I was hoping to use the HTML5 Render, but I don't know HTML or Javascript. Does anyone have a solution or a direction they could point me in?
Solved! Go to Solution.
@StephenR - Giving this a bump because it's a great idea! There is a Street View API that my get you what you need: Google Street View API.
@StephenR - I had some time to play around with this on the weekend; per @JeradR's suggestion, I made a macro that lets you connect to the Google Street View API and save them as images.
Here's the configuration of the macro:
After selecting Lat and Lon fields, you can also specify the width and height. The API requires an API key which you can read how to get here, but it seems if you leave it blank it works just as nicely, and you don't hit any rate limits :)
Lastly, and most importantly, you will want to specify where you would like to save all the images, and give it a name. Make sure to type in .png or .jpg (based on your preference).
You can see from the results, that whatever you specify in the template portion (test.png) will become the base of your filename. For each record, one image will be downloaded to the folder you chose
I attached the macro and a sample workflow.
Great work, @SophiaF!
This is really great! I just went in and added the heading into the macro because I need that to output exactly what I'm looking at.
Hi,
I tried using your macro but got an error as in "File format not supported" when opening the image that got downloaded in the folder(for both '.jpg' and '.png' formats). Can you please help me?
Thanks,
Meenatchi
What change did you make to the macro? I'm having the same issue where I can output an image file but am unable to open the results. I get this error when I try to open either a jpeg or png
"Windows Photo Viewer can't open this picture because the file appears to be damaged, corrupted, or is too large"