Thank you for adding me as a contributor. I will go ahead and merge the
pull request.

Regards,


On Sun, Feb 23, 2014 at 12:12 PM, Andy Truong <notifications@github.com>wrote:

> In fbphoto.module:
>
> >    if (!empty($album)) {
> >      foreach ($album['photos'] as $photo) {
> > -      $img = array_pop($photo->images);
> > -      $attributes['src']    = $img->source;
> > -      $attributes['height'] = $img->height;
> > -      $attributes['width']  = $img->width;
> > -      $attributes['title']  = isset($photo->name) ? $photo->name : '';
> > -      $output = '<img '. drupal_attributes($attributes) .' />';
> > -      $output = '<a href="'. $photo->images[0]->source .'">'. $output .'</a>';
> > -      $items[] = '<span>'. $output .'</span>';
> > +      $bg_image = fbphoto_get_best_photo($photo);
> > +      $items[] =
> > +          l("<div style='background-image: url($bg_image);'></div>",
>
> I have added you add contributor, please fell free make changes. Thank you.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/andytruong/fbphoto/pull/5/files#r9974593>
> .
>