Discussion Forums  >  Uncategorized

Replies: 1    Views: 216

Bellossom
Lost but trying
Profile
Posts: 3
Reg: Oct 20, 2011
Adelaide
30
10/28/11 04:46 AM (14 years ago)

Images on my server, to create a gallery using JSON

Hello wonderful, innovative and intelligent buzz-touch users! I hope someone here can find the time to assist me a little. I am using buzztouch 1.5, and am trying to make an android application. I am trying to make a image gallery. I have my images, sitting nicely on my server in a folder, with the script that is provided. My query is, for the line: $JSON .= \imageURL\:\http://www.yoursite.com/imageFolder/ . $file . \},; is there any way to make it read a text file (of the same file name but .txt instead of .jpg), search through that file and locate: Photo URL : http://www.flickr.com/photos/23232002@N05/2237965703/ and then put that url in as my image URL? See, I want to store the images on my server, but need to attribute the photographer as I have gotten the image from flickr (the photos are commercially available for use). The images as have EXIF metadata on them which may possibly also have the URL, so maybe that would be easier then trying to read the txt files? I think the script is in php -> http://www.buzztouch.com/appdata/sample-image-output.txt <- and I'm no coder although sometimes I can follow it (I do try!). Again, if anyone can find the time to help me out a little I would greatly appreciate it! Regards, Jaimee
 
gotfox
buzztouch Evangelist
Profile
Posts: 146
Reg: Feb 05, 2011
Las Vegas
8,460
like
10/28/11 09:13 AM (14 years ago)
An alternative to using the gallery function could be to use the RSS function. At least with that, you can use the data from the photos in the manner you'd like to show the URL and photographer, etc. Also, why do you want to store the photos on your server?
 

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.