Discussion Forums  >  Uncategorized

Replies: 4    Views: 464

i4HimProductions
Aspiring developer
Profile
Posts: 65
Reg: Jan 21, 2011
location unknow...
650
04/05/11 02:41 PM (14 years ago)

Buzztouch Photo Gallery v1.5

Hi All, I have a app I am working on for a client that has categories of images.. The problem is my client would like to have captions for each of images... Is there anyway for this to be a possibility?
 
erichopf
buzztouch Evangelist
Profile
Posts: 316
Reg: Mar 14, 2011
NY, NY
3,460
like
04/05/11 04:43 PM (14 years ago)
Not currently
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/05/11 08:47 PM (14 years ago)
Depending on your techie skills, there are a few ways so accomplish this. Example, you could... a) Pull the image configuration data from your website and include a 'description' in your JSON data. b) Create a simple UIView in the BT_screen_images files that help the description data When each image loaded, you could fill the UIView with the description pulled from the JSON data. Again, depending on your skills, this could be very very simple or very very complex. If you're interested in tackling this kind of modification to your app... re-post and we'll walk you though some steps. You will need to 'host' the configuration data on your or your clients site.
 
i4HimProductions
Aspiring developer
Profile
Posts: 65
Reg: Jan 21, 2011
location unknow...
650
like
04/06/11 08:26 AM (14 years ago)
How would example b) work out?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/06/11 10:47 AM (14 years ago)
Please understand that this approach does take some programming skills, like I mentioned earlier. Here's the idea... make a frame (box) to position a label, create a label, add the text from your data to the label. Some psuedo code would look something like... CGRect *myDescriptionFrame = CGRectMake(0, 0, 300, 100); UILabel *myDescriptionLabel = [[UILabel alloc] initWithFrame:myDescriptionFrame]; [UILabel setText:--json screen data that holds the description --] You'll need to polish this by setting properties for the frame, label, colors, font size, etc. Use Google, it's very helpful. Search UILabel to see all the things you can set. You'll also need to look at the BT_screen_image.m file to see the methods that set the values for each image. The method that loads each picture will be where you set the value for your custom UILabel
 

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.