flickrbomber Wrapper for ZURBs flickrBomb rapid prototyping helper.

  1. Requirements
  2. Usage
  3. Resources

This extension encapsulates ZURBs flickrBomb library. A fantastic evolution of image placeholders (used in prototyping), which let you choose an image from flickr and saves it in browsers local storage. It's small and very easy to use.
Please consider posting requests and suggestions in relevant forum topic (link in resources below)
Make sure you check flickrBomb homepage.

Requirements

  • Tested with Yii 1.1.9 on Windows machine, but it should work on anything from 1.1.x series.
  • Flickr API Key

Usage

  • Unpack into 'application.extensions' directory.
  • Go to Flickr App Garden and request API Key if you don't have one yet.
  • Open jquery.flickrbomb.min.js from 'application.extensions.EFlickrBomber.assets' folder and paste your API Key in flickrbombAPIkey variable.
  • Run as any other widget
$this->widget('application.extensions.EFlickrBomber.bomb',array(
           'tags' => 'windsurfing, kiteboarding', //required
           'id' => 'top-left', //optional
           'width' => 300, //optional, default 200px
           'height' => 100, //optional, default 200px
           'ratio' => '16:9', //optional
       )); 

tags: are required. Yhey will be used as search keywords.
id: is only required if there is more then one flickrBomb on a page using exactly the same tags and you want to take advantage of local storage.
width and height: most likely you will want to change these. You can also set them to false if you want for example to set img dimensions in css.
ratio: is supposed to constrain the longest dimension to the size of the images container and keep aspect ratio.

Resources

1 0
2 followers
294 downloads
Yii Version: 1.1
License: Apache-2.0
Category: User Interface
Developed by: sidewinder
Created on: Feb 9, 2012
Last updated: 12 years ago

Downloads

show all

Related Extensions