Greg Holsclaw: Views, ImageCache and an iPhone app
When developing a mobile app, be it for the iPhone, an Andriod phone or a Blackberry, having dynamic data sprinkled in the app is important. DogParkUSA.com has recently sponsored the Dog Park Finder iPhone app and they wanted a thumbnail photo in each dog park listing.
One key is that if a park gets its first photo, or a better photo, the editors wanted to be able to promote the photos to the top of the photo page, and to have it show up as the thumbnail in the iPhone app. To do this without updating the app, we used a static URL that points to a View, which displays a Imagecached image.
Imagecache was used to exactly size photos to fit in the frame used in the app, while Views allows us to have a static URL, even though the photo displayed can be changed by the editors (by using the Sticky flag). This flexibility is key to pushing the photos they select into the app without an app update.
- سَجل الدخـول لإرسَــال تـَعلـيق.
- Feed: drupal.org aggregator
- اقراءالمصدر
مـواضـيـع ذات صـلـة
- Greg Holsclaw: Dog Park Finder made New and Noteworthy
- Greg Holsclaw: Updating the page cache on time
- Oliver Davies: Create a Better Photo Gallery in Drupal - Part 2
- Open Source Catholic: Post Photos to Your Drupal Site from the iPad
- NodeOne: Drupal-powered city guide for parents in your iPhone
- Tim Millwood: Drippic - A Twitpic clone built in Drupal

