| 1 | # $Id: Image.pm 193 2009-01-16 13:42:25Z fish $ | ||
| 2 | package WWW::MeGa::Item::Image; | ||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | =head1 NAME | ||
| 7 | |||
| 8 | WWW::MeGa::Item::Image - Representing a image in L<WWW::MeGa> | ||
| 9 | |||
| 10 | =head1 DESCRIPTION | ||
| 11 | |||
| 12 | See L<WWW::MeGa::Item> | ||
| 13 | |||
| 14 | =head1 CHANGED METHODS | ||
| 15 | |||
| 16 | =cut | ||
| 17 | |||
| 18 | use base 'WWW::MeGa::Item'; | ||
| 19 | |||
| 20 | our $VERSION = '0.11'; | ||
| 21 | |||
| 22 | |||
| 23 | =head2 thumbnail_source | ||
| 24 | |||
| 25 | return the path to the image as a source for the thumbnail. | ||
| 26 | the image representation of a image is a image ;) | ||
| 27 | |||
| 28 | =cut | ||
| 29 | |||
| 30 | sub thumbnail_source | ||
| 31 | { | ||
| 32 | my $self = shift; | ||
| 33 | return $self->{path}; | ||
| 34 | } | ||
| 35 | |||
| 36 | 1; |