Discussion Forums  >  Uncategorized

Replies: 4    Views: 399

RacinJason
Aspiring developer
Profile
Posts: 73
Reg: Jan 13, 2011
Hanover, PA
730
01/17/12 08:28 AM (14 years ago)

Image Gallery setup with Picasa JSON

I am assuming that to pull in a JSON data URL I do not put any items in the Image File Name or Image URL at the top of the screen. I am trying to use a Google Picasa with the output set to JSON which is supported on Googles side by adding the alt=json in the data url. You do not need an API key to pull a public album from Picasa. This is the public data url I am trying to use. https://picasaweb.google.com/data/feed/base/user/jasonbly76/albumid/5698596945273233105?alt=json&kind=photo&hl=en_US. Does this appear correct? I can not get it to work. It is showing as a valid in the JSON checker I use: http://jsonformatter.curiousconcept.com/ Please show me what I am missing.
 
RacinJason
Aspiring developer
Profile
Posts: 73
Reg: Jan 13, 2011
Hanover, PA
730
like
01/17/12 08:32 AM (14 years ago)
The error message it shows is: There was a problem parsing some configuration data, please make sure it is well formed
 
themc
Code is Art
Profile
Posts: 75
Reg: Nov 11, 2011
Tilburg
7,050
like
01/18/12 07:39 AM (14 years ago)
the format. he json is almost right the way it pulls data is not quite right. check the file with the gallery (the pdf document) for the format the json should be in. me personaly used flickr. its got the right format out of the the box (if your pictures are public) if they are private (like a private gallery or for advertisments only your customers may see) you can use the other file for backend / hosting (the json.php) use it in your webhosting in the map with your pictures.
 
RacinJason
Aspiring developer
Profile
Posts: 73
Reg: Jan 13, 2011
Hanover, PA
730
like
01/18/12 08:34 AM (14 years ago)
Thats what I was afraid of. I've encountered this problem with RSS feeds as well. Many similar types but always seem to run into problems when importing.
 
themc
Code is Art
Profile
Posts: 75
Reg: Nov 11, 2011
Tilburg
7,050
like
01/19/12 01:10 AM (14 years ago)
honestly the best and fastest option is a flickr gallery. or if you want the pics to be private a webhost. al you need is ftp access and put the images in a map. then put the json php from the example in it and configure the file to use that map. the json php will generate the right json script for the images. test those images bij going to the php from internet. if it generates a json with images you can use that page like http://www.testtest.nl/(imagefolder)/json.php in the date part of the gallery and voila.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.