If you want to display photos from Panoramia, you can use the API which is very easy to use. Panoramia images can be displayed depending on the Geolocation.
You need to know the minimum longitude, latitude, maximum longitude and latitude. Panoramia is now acquired by Google.
The results are in JSON format.

