Permalink
Browse files

thumb_url instead of easy_thumb

  • Loading branch information...
1 parent 77b765e commit 0cb761534ab60e901ddf1daebbc407b21c921c85 @szabgab szabgab committed Jan 12, 2015
Showing with 2 additions and 2 deletions.
  1. +1 −1 Makefile.PL
  2. +1 −1 lib/PerlDancer.pm
View
@@ -17,7 +17,7 @@ WriteMakefile(
'YAML' => 0,
'LWP::Simple' => 0,
'Template' => 0,
- 'WebService::Bluga::Webthumb' => 0,
+ 'WebService::Bluga::Webthumb' => 0.05,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'TestApp-*' },
View
@@ -89,7 +89,7 @@ sub _get_dancefloor_sites {
my $wt = WebService::Bluga::Webthumb->new(%$webthumb_api);
for my $site (@dancefloor_sites) {
# Work out the URL to a thumbnail
- $site->{thumb_url} = $wt->easy_thumb($site->{url})
+ $site->{thumb_url} = $wt->thumb_url($site->{url})
if $site->{url};
}
return [ sort { rand } @dancefloor_sites ];

0 comments on commit 0cb7615

Please sign in to comment.